<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
>

  <channel rdf:about="http://lwn.net/headlines/115530/">
    <title>LWN: Comments on "Coverity's kernel code quality study"</title>
    <link>http://lwn.net/Articles/115530/</link>
    <description>
This is a special feed containing comments posted
to the individual LWN article titled &quot;Coverity's kernel code quality study&quot;.

    </description>

    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>2</syn:updateFrequency>
    <items>
      <rdf:Seq>
	<rdf:li resource="http://lwn.net/Articles/115776/rss" />
	<rdf:li resource="http://lwn.net/Articles/115690/rss" />
	<rdf:li resource="http://lwn.net/Articles/115656/rss" />
	<rdf:li resource="http://lwn.net/Articles/115637/rss" />
	<rdf:li resource="http://lwn.net/Articles/115633/rss" />
	<rdf:li resource="http://lwn.net/Articles/115630/rss" />
	<rdf:li resource="http://lwn.net/Articles/115629/rss" />
	<rdf:li resource="http://lwn.net/Articles/115610/rss" />
	<rdf:li resource="http://lwn.net/Articles/115603/rss" />
	<rdf:li resource="http://lwn.net/Articles/115585/rss" />
	<rdf:li resource="http://lwn.net/Articles/115566/rss" />
	<rdf:li resource="http://lwn.net/Articles/115556/rss" />
	<rdf:li resource="http://lwn.net/Articles/115549/rss" />
	<rdf:li resource="http://lwn.net/Articles/115545/rss" />
      
      </rdf:Seq>
    </items>

  </channel>
    <item rdf:about="http://lwn.net/Articles/115776/rss">
      <title>*BSD, so what?</title>
      <link>http://lwn.net/Articles/115776/rss</link>
      <dc:date>2004-12-16T00:46:51+00:00</dc:date>
      <dc:creator>freethinker</dc:creator>
      <description>
      Don't feed the trolls :)&lt;br&gt;
&lt;p&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115690/rss">
      <title>*BSD, so what?</title>
      <link>http://lwn.net/Articles/115690/rss</link>
      <dc:date>2004-12-15T13:17:37+00:00</dc:date>
      <dc:creator>nix</dc:creator>
      <description>
      &lt;blockquote&gt;
Niche software doesn't deserve broad attention.
&lt;/blockquote&gt;
What a parochial point of view. You realise the same `reasoning' could be applied by Windows people to Linux and the MacOS?
&lt;p&gt;
&lt;i&gt;Everything&lt;/i&gt; deserves attention, if just to find good ideas in it and reuse them elsewhere.
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115656/rss">
      <title>Coverity's kernel code quality study</title>
      <link>http://lwn.net/Articles/115656/rss</link>
      <dc:date>2004-12-15T08:26:18+00:00</dc:date>
      <dc:creator>alexs</dc:creator>
      <description>
      aside to the promotion&lt;br&gt;
this press release shows&lt;br&gt;
how a code project can improve&lt;br&gt;
over some period of time&lt;br&gt;
when a well tuned toolset is applied.&lt;br&gt;
&lt;p&gt;
i suppose that a lot of kernel improvements&lt;br&gt;
of the near and far future will be the result&lt;br&gt;
of improved gnu compilers and possible assisted&lt;br&gt;
by the occasional usage of the intel compilers.&lt;br&gt;
stanford checker might decrease in his contribution&lt;br&gt;
to the fixing rate as things tend to get tougher&lt;br&gt;
in a phase where the overall amount of bugs in&lt;br&gt;
the software is magnitudes below the normal rate.&lt;br&gt;
&lt;p&gt;
lets give you some &quot;troll bait&quot;: Linux is mature now. ;-)&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115637/rss">
      <title>Coverity's kernel code quality study</title>
      <link>http://lwn.net/Articles/115637/rss</link>
      <dc:date>2004-12-15T00:48:23+00:00</dc:date>
      <dc:creator>emkey</dc:creator>
      <description>
      Shouldn't the holy grail be knowing exactly where all those bugs are?  :-)&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115633/rss">
      <title>Coverity's kernel code quality study</title>
      <link>http://lwn.net/Articles/115633/rss</link>
      <dc:date>2004-12-15T00:42:45+00:00</dc:date>
      <dc:creator>MathFox</dc:creator>
      <description>
      You should realise that any (automated or manual) bug-checking process only finds a subset of the bugs that exist in a program. &lt;i&gt;There ain't no silver bullet!&lt;/i&gt; The Stanford/Coverity bug checker will only find some of the bugs and be blind for the others.&lt;br&gt;
Running an automated checker on a program will find a lot of bugs in the first run... but it will not find some bugs that hide in the bling spot of the checker. You can fix the bugs that the scanner finds and rerun it; but it can not help you with the bugs that it is blind for. So there will allways be an unknown(!) number of bugs left after a perfect scan.&lt;p&gt;
It makes more sense to compare the numbers of bugs that were found on the first run of the scanner between different projects, or the total number of bugs spotted by the scanner instead of the number of &amp;lt;residual&amp;gt; bugs that the scanner finds after several iterations of bug fixing.&lt;p&gt;
&lt;i&gt;The holy grail in software testing is knowing the exact number of bugs in the product.&lt;/i&gt; :)
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115630/rss">
      <title>*BSD, so what?</title>
      <link>http://lwn.net/Articles/115630/rss</link>
      <dc:date>2004-12-15T00:15:12+00:00</dc:date>
      <dc:creator>gvy</dc:creator>
      <description>
      May I reiterate that it's BSDs' problem an not anyone else's, deterring people off development and not providing incentive to cooperate?&lt;br&gt;
&lt;p&gt;
I bet someone of that crowd whined in Ladislav's inbox to make his banner on distrowatch.com include &quot;BSD&quot; which is totally irrelevant there IMHO.&lt;br&gt;
&lt;p&gt;
And I've personally taken enough whining instead of people doing something real to promote their favours to have this approach to that crowd, sorry.&lt;br&gt;
&lt;p&gt;
Niche software doesn't deserve broad attention.  Especially when providing nothing new to this world.&lt;br&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115629/rss">
      <title>Coverity's kernel code quality study</title>
      <link>http://lwn.net/Articles/115629/rss</link>
      <dc:date>2004-12-14T23:58:41+00:00</dc:date>
      <dc:creator>brouhaha</dc:creator>
      <description>
      &lt;blockquote&gt;
The number Coverty presents can not be compared with the number of bugs found in other projects before Coverty fixes.
&lt;/blockquote&gt;

Certainly it CAN be compared.  If you were going to choose an OS today, would you decide to ignore the higher bug count of &amp;lt;some proprietary os&amp;gt; just because the owner hasn't had those Coverity fixes but might get them (or the equivalent) in the future?

      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115610/rss">
      <title>Bugs per kLOC</title>
      <link>http://lwn.net/Articles/115610/rss</link>
      <dc:date>2004-12-14T23:02:22+00:00</dc:date>
      <dc:creator>hppnq</dc:creator>
      <description>
      I assume the Coverity program has a proper parser that allows for at least a proper comparison of the actual number of lines of code it has inspected. It must be much harder, for instance, to compare the complexity (that is inevitably related to the number of bugs found, I would say) of two programs.
&lt;p&gt;
But I fully agree with you that the press release reads more like a promotional flyer, which is a bit strange considering these people must know the tricks of the scientific trade.
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115603/rss">
      <title>OpenBSD</title>
      <link>http://lwn.net/Articles/115603/rss</link>
      <dc:date>2004-12-14T22:07:16+00:00</dc:date>
      <dc:creator>JoeBuck</dc:creator>
      <description>
      There's a problem with comparisons, though.  Coverity started off as the &quot;Stanford Checker&quot;, and those guys have been working with the Linux kernel for years, feeding back bugs as they find them.  Not as much work has been done on the BSDs.

      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115585/rss">
      <title>OpenBSD</title>
      <link>http://lwn.net/Articles/115585/rss</link>
      <dc:date>2004-12-14T20:34:08+00:00</dc:date>
      <dc:creator>error27</dc:creator>
      <description>
      Someone did a comparison and BSD was far worse.&lt;br&gt;
&lt;p&gt;
But most of the bugs were in one small area of the code that wasn't used much...  Compatability for something.&lt;br&gt;
&lt;p&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115566/rss">
      <title>Bugs per kLOC</title>
      <link>http://lwn.net/Articles/115566/rss</link>
      <dc:date>2004-12-14T19:47:00+00:00</dc:date>
      <dc:creator>man_ls</dc:creator>
      <description>
      &lt;blockquote&gt;&lt;i&gt;
The number Coverty presents can not be compared with the number of bugs found in other projects before Coverty fixes.
&lt;/i&gt;&lt;/blockquote&gt;
Well said. Bugs per thousand lines of code (kLOC) can only be evaluated as a relative number, since we cannot know:
&lt;ul&gt;
&lt;li&gt;if blank lines of code are counted,
&lt;li&gt;if comments are counted either,
&lt;li&gt;if coding style matters (lone '{'s or '}'s)...
&lt;/ul&gt;
Otherwise, we can only suppose it is non-blank, non-comment lines of code what we are counting (the usual industry standard); and play with broad estimates, which I will presently do for the fun of it.
&lt;p&gt;
The figure given by Carnegie Mellon University, 20 or 30 bugs per kLOC, is definitely not for released software, but probably for written software before any testing happens. After release, the number would rather be 1 to 5 bugs per kLOC in commercial software. For mission-critical code, the count can be as low as 0.1 bugs per kLOC (as in Shuttle software), depending on cricicity and budget. Project size is also a factor.
&lt;p&gt;
Of course the rate in Linux is lower than in &quot;commercial enterprise software&quot;; an operating system kernel arguably &lt;i&gt;is&lt;/i&gt; mission-critical software. 0.17 bugs per kLOC looks like a lot, even if those bugs are in device drivers, or especially then since they can take down the whole system, corrupt data, etc. (I remember estimates for w2k were 2 bugs per kLOC after release, but that includes the whole operating system, not just the kernel.)
&lt;p&gt;
But there is more. Nobody would expect that, after fixing the 985 bugs, Linux would magically become error-free. So 0.17 bugs per kLOC must be a lowest-bound estimate; the real figure will be higher.
&lt;p&gt;
All in all, a poor press release with not much real value, but great promotion for the Stanford Code Checker.
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115556/rss">
      <title>OpenBSD</title>
      <link>http://lwn.net/Articles/115556/rss</link>
      <dc:date>2004-12-14T18:36:44+00:00</dc:date>
      <dc:creator>freethinker</dc:creator>
      <description>
      I wonder what a similar study would find in OpenBSD. I found some references to 2000-odd bugs found in Linux and OpenBSD at some time in the past, but no breakdown.&lt;br&gt;
&lt;p&gt;
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115549/rss">
      <title>Coverity's kernel code quality study</title>
      <link>http://lwn.net/Articles/115549/rss</link>
      <dc:date>2004-12-14T18:21:53+00:00</dc:date>
      <dc:creator>MathFox</dc:creator>
      <description>
      My take on the story is:
&lt;blockquote&gt;
After four years of pestering the Linux coders with &quot;Stanford code checker&quot; reports, we hardly find any bugs with our code checker (which is the rebadged
Stanford checker).
&lt;/blockquote&gt;
The number Coverty presents can not be compared with the number of bugs found in other projects before Coverty fixes.
      
      </description>
    </item>
    <item rdf:about="http://lwn.net/Articles/115545/rss">
      <title>Coverity's kernel code quality study</title>
      <link>http://lwn.net/Articles/115545/rss</link>
      <dc:date>2004-12-14T18:14:38+00:00</dc:date>
      <dc:creator>southey</dc:creator>
      <description>
      Note that 54% are in device drivers and 41% are due to NULL pointer dereferences. So Linux is probably has an even better quality than it first appears.&lt;br&gt;
      
      </description>
    </item>
</rdf:RDF>

