[Qt-interest] article about static analysis of Qt
Bo Thorsen
bo at fioniasoftware.dk
Sun Jul 17 09:26:43 CEST 2011
Den 16-07-2011 18:32, Linos skrev:
> Hi,
> maybe some people here find this article interesting, it relates some small
> bugs found on Qt 4.7.3.
>
> http://www.viva64.com/en/a/0075/
I was actually a bit disappointed with this. If all he can do is to find
places where conditions are checked twice, then it's pretty much a waste
of time. And some of his recommendations are questionable - for example,
a compiler can sometimes optimize a switch to a jump table. But a loop
with comparisons over a list of values is impossible to optimize.
He needs to come up with better reasons why his work is useful.
Bo Thorsen,
Fionia Software.
--
Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk
More information about the Qt-interest-old
mailing list