IE 11 Not Supported

For optimal browsing, we recommend Chrome, Firefox or Safari browsers.

Open Source Quality Check Completed By Government Funded Research

On Monday, Coverity Inc. released research results on the quality of many of the leading open source software projects in the world

As part of the government-funded analysis, Coverity is establishing a new baseline for software quality and security in open source based on analyses of more than 17.5 million lines of source code using the latest research from Stanford University's Computer Science department. The LAMP stack -- Linux, Apache, MySQL, and Perl/PHP/Python -- showed significantly better software quality above the baseline with an average of 0.290 defects per thousand lines of code compared to an average of 0.434 for the 32 open source software projects analyzed.

The analysis is the first public result arising from a contract with the Department of Homeland Security (DHS) to improve the security and quality of software. The three-year contract, called the "Vulnerability Discovery and Remediation Open Source Hardening Project," includes research on source code analysis techniques developed by Coverity and Stanford computer scientists.

"One of the goals of our research on software quality and security is to define a baseline so that people can measure software reliability in both open source and proprietary software projects," said Ben Chelf, CTO of Coverity. "No technology can find all bugs in software, but we have collected a critical mass of data through an automated and repeatable analysis framework to show how software quality can be concretely assessed, compared, and ultimately improved."

The open source development model benefits from the "many eyes" approach of having many developers review source code in a process similar to a large-scale peer review. This often results in high quality code, such as the code found in the LAMP stack. One goal of Coverity's research is to accelerate this peer review process by automatically analyzing 100 percent of the code paths for defects in each software project. According to Coverity, to do this manually for just the Linux kernel would take over twenty-eight man years alone.

As part of the analysis, Coverity is working with open source project leaders to make Coverity's findings useful to the open source community and to assist in applying fixes to the bugs identified.

An updated table of summary results and access to the secure database of defects is available online.