Given the vast and growing number of open-source projects, one would assume its quality had gone down as quantity went up. In fact, the inverse is true, suggests a new report from Coverity, which spent the past three years analyzing more than 11 billion lines lines of code from 280 open-source projects. This is crucial given open source's increased importance to the software industry as a whole, and not merely
Among other findings, Coverity's report reveals a 16-percent reduction in static analysis defect density. While Coverity's analysis doesn't cover all or even most open-source projects, which number in the hundreds of thousands, it does tell us a great deal about the quality of the more successful projects like Linux, Firefox, Samba, and PHP.
Each of these projects is growing, and on average their quality is getting better. That's a feat of which few commercial software products can boast.
Such vendors are, however, taking notice. SAP, for example, despite its billions in sales, is trawling for sales leads on open-source start-up Openbravo's SourceForge.net project page.
SAP and other traditional software vendors aren't stupid. They can see a significant customer shift to subscription-based open-source offerings. Customers are increasingly looking for ways to lower costs and boost productivity through open source, as David Buckholtz, vice president of Enterprise Technology and Quality at Sony Pictures Entertainment, told the LinuxCon crowd Tuesday in a panel I moderated. Buckholtz suggested that what started out as a small experiment to replace BEA WebLogic, became a major shift to using open-source technology all over SPE, both to cut costs and improve product quality.
No, not all open-source software is fantastic, and undoubtedly even some of the commercial open-source software offerings are weak. The best open-source projects, as Intel's Dirk Hohndel pointed out in his LinuxCon keynote, are those with strong execution and vision. Just like in the proprietary software world.
Coverity's analysis, however, suggests that open-source software may have the upper hand on its proprietary peers. Open-source quality is almost certainly a direct result of open-source transparency, something Red Hat CEO Jim Whitehurst suggested at Red Hat Summit recently when he opined, "If we all had to walk around naked we'd all spend more time in the gym."
An open-source project will only be as good as the developers who work on it, but those developers have a strong motivation to make the code secure, robust, and high performance. The code is "naked," as it were. The source code is open.
Customers and competitors are noticing.
Disclosure: SAP Ventures is an investor in Alfresco, my employer, and I am an adviser to Openbravo.