Feeds

Open and closed source software defects reloaded

Rhyme and Reasoning

  • alert
  • submit to reddit

The Power of One eBook: Top reasons to choose HP BladeSystem

Open source and closed source software packages start out with roughly equivalent defect rates even though code inspection gives OS packages an edge over time.

That's the conclusion of a pair of studies by software tools vendor Reasoning.

In the first study, published in February, 2003, Reasoning found that the TCP/IP protocol stack implementation in version 2.4.19 of the open source Linux kernel has fewer defects than the protocol stacks of several commercial equivalents.

Reasoning found eight defects in 81,852 lines of Linux kernel source code - the fewest number of defects of the various implementations of TCP/IP inspected by the company as part of its study.

In a second study, published yesterday, Reasoning found the software quality of Apache v2.1 roughly on par with commercial Web server equivalents.

The defect density of the Apache code inspected was 0.53 per thousand lines of source code, while the commercial average defect density came to 0.51 per thousand lines of source code. In all 31 software defects were found in 58,944 lines of Apache v2.1.

Apache v2.1 is a less mature open source package than the Linux kernel reviewed in Reasoning's February study. Reasoning uses this factor to explain the discrepancy in findings between its two studies.

Reasoning concludes from its studies that "there is a correlation between code inspection/peer review and the resulting defect density".

Which is what common sense would have suggested in the first place.

Reasoning studies were derived from its automated software inspection services and used a "combination of proprietary technology and repeatable process". The company said that the results from its code inspection services are "objective and comparable across software applications, development methodologies, and coding styles".

The results of Reasoning's Apache V2.1 inspection can be obtained here. ®

Related Stories

Open and closed security are roughly equivalent
.NET 'more secure' than WebSphere
All bugs are created equal
Want to know the ten most critical web app vulnerabilities?

Reducing security risks from open source software

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.