[Qt-interest] article about static analysis of Qt

Malyushytsky, Alex alex at wai.com
Tue Jul 19 01:55:31 CEST 2011


There was a famous Russian singer and actor who said (my own translation):
”quality of police is not defined by the presence of criminals, but rather how police can shut down the criminal activity”

The same thing I would say about software bugs.

Even though I am often unhappy about reported by me bug silently dying,
I would say that quality of QT in general is the highest I've seen if compare to all free available packages I ever used.
I would say rare of the software library of comparable size can compete with Qt.

To be fair I would still prefer 'case' instead of table concept,
most of the case usage will not allow to use table concept and
in the long run it is easier to maintain similar structured code.

I am not sure if "the mentioned article is completely unnecessary",
Any study is better than none,.
but I would advise person who wrote it at least to try to compile his examples.

I doubt the following will compile on any compiler (and this is first min of reading, wo where is advantage?):

struct {
  QSysInfo::WinVersion; m_ver;
  const char *m_str;
} Table_WinVersionToString[] = {
  { WV_Me,   "WinMe" },
  { WV_95,   "Win95" },
  { WV_98,   "Win98" },
  { WV_NT,   "WinNT" },
  { WV_2000, "Win2000" },
  { WV_2003, "Win2003" },
  { WV_XP,   "WinXP" },
  { WV_VISTA,"WinVista" }
};

Just my personal few cents,
        Alex

From: qt-interest-bounces+alex=wai.com at qt.nokia.com [mailto:qt-interest-bounces+alex=wai.com at qt.nokia.com] On Behalf Of Jesus Fernandez
Sent: Sunday, July 17, 2011 7:04 AM
To: Bill Crocker
Cc: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] article about static analysis of Qt

I think this article is completely unnecessary.

Qt libraries are huge and cannot be free of errors. But these comments...
On Sun, Jul 17, 2011 at 15:26, Bill Crocker <william.crocker at analog.com> wrote:

>>
>> http://www.viva64.com/en/a/0075/

>
> I was actually a bit disappointed with this.
>
He also says this...

    "The code of the Qt library is of a very high
     quality and it's almost free of errors."

which reveals his limited Qt experience.    :-)
Qt may have a low error count per line of code
but there is a *lot* of code.

Bill

> Bo Thorsen,
> Fionia Software.
>


_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest



---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

“This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”

“Please consider our environment before printing this email.”


More information about the Qt-interest-old mailing list