Follow Us

Open source code has fewer mistakes

Open source software has fewer defects on average than proprietary code does, according to new data from Coverity

Free and open source software such as Firefox, LibreOffice, and Linux is enjoying increasingly widespread adoption on business and home computers alike, but every once in a while a naysayer will still pipe up with one vague concern or another about open source quality, in particular.

"You get what you pay for," such detractors often like to say.

It's all just a matter of FUD, of course, and a new report from development testing firm Coverity helps to confirm that.

Related Articles on Techworld

In its 2011 Coverity Scan Open Source Integrity Report, which was released on Thursday, Coverity actually found that open source code has fewer defects per thousand lines of code than proprietary software code does.

"The line between open source and proprietary software will continue to blur over time as open source is further cemented in the modern software supply chain," noted Zack Samocha, Coverity's project director for the Scan project.

Searching for defects

Originally launched by Coverity along with the US Department of Homeland Security in 2006, the Scan project is the largest public-private sector research effort focused on open source software integrity, Coverity says.

Included in this year's analysis were more than 37 million lines of open source software code and more than 300 million lines of proprietary software code from a sample of anonymous Coverity users.

To conduct its analysis, Coverity used a testing platform that was upgraded this year with the ability to find more new and existing types of defects in software code, the company says.

Linux 2.6 stands out

Among Coverity's findings was that in proprietary codebases, which averaged 7.5 million lines of code in size, the average number of defects per thousand lines of code was 0.64.

That may sound pretty small, but in open source software the figure was even smaller. Specifically, with an average open source project size of 832,000 lines of code, the average defect density was 0.45 defects per thousand lines of code.

Where codebases were of similar size, open source code quality was pretty much on par with proprietary code quality, Coverity found. Linux 2.6, for example - a project with nearly 7 million lines of code - had a defect density of 0.62, which is still slightly better than that of its proprietary codebase counterparts.

Among open source projects, Linux 2.6, PHP 5.3, and PostgreSQL 9.1 can be used as industry benchmarks, the company said, with defect densities of 0.62, 0.20, and 0.21, respectively.

This is not to say that open source software is always the best solution for every purpose. When it comes to choosing new software, however, quality is one of open source's many assets - not a liability.



Comments

Deja-Vu Times said: Coverity Inc the leader in development testing released today the 2011 Coverity Scan Open Source Integrity Report Scan This report is the result of the largest public-private sector research project focused on open source software integrity originally initiated between Coverity and the US Department of Homeland Security in 2006 and currently owned and managed by CoverityIn 2011 open source projects in Coverity Scan were upgraded to the Coverity 5 development testing platform analysis engine to accommodate significant advances of the maturity in static analysis technology over the past five years - in particular the ability to find more new and existing types of defects in software code The 2011 Scan report details the analysis of Scans most active open source projects totaling over 37 million lines of open source software code In addition the report details the results of over 300 million lines of proprietary software code from a sample of anonymous Coverity usersMore Details can be foudn on httpwwwdejavutimescomstr




Send to a friend

Email this article to a friend or colleague:

PLEASE NOTE: Your name is used only to let the recipient know who sent the story, and in case of transmission error. Both your name and the recipient's name and address will not be used for any other purpose.

Techworld White Papers

Choose – and Choose Wisely – the Right MSP for Your SMB

End users need a technology partner that provides transparency, enables productivity, delivers...

Download Whitepaper

10 Effective Habits of Indispensable IT Departments

It’s no secret that responsibilities are growing while budgets continue to shrink. Download this...

Download Whitepaper

Optimise Performance For Global eCommerce

Global is all the rage: eBusiness teams are feverishly building new international initiatives in...

Download Whitepaper

Gartner Magic Quadrant for Enterprise Information Archiving

Enterprise information archiving is contributing to organisational needs for e-discovery and...

Download Whitepaper

Techworld UK - Technology - Business

Part 2 of your journey to virtualisation

You can still access part 2 of our virtualisation journey - explore how you can improve your servers, storage and networks by developing your infrastructure.

Watch now...
Techworld Mobile Site

Access Techworld's content on the move

Get the latest news, product reviews and downloads on your mobile device with Techworld's mobile site.

Find out more...

From Wow to How : Making mobile and cloud work for you

On demand Biztech Briefing - Learn how to effectively deliver mobile work styles and cloud services together.

Watch now...

Site Map

* *