Coverity says open source is getting better

By V3.co.uk staff
Sep 24, 2009 6:38 AM
Tags: code | open | scan | source | coverity | projects

Quality of open source code gradually improving.

Coverity, which offers software integrity scanning services, released its latest report on open source projects' code quality today.

It details the results of years worth of studies, talks with the community, and collaboration with the US Department of Homeland Security. The good news is that open source quality is steadily getting better.

Running since 2006, Coverity Scan has analysed more than 60 million lines of code on a recurring basis from more than 280 popular open source projects such as Firefox, Linux and PHP - some 26,181 individual project analysis runs.

It found that overall the quality of open source code has been improving, thanks in part to programmers referring to previous scan results and acting accordingly. More than 11,200 defects discovered in open source programs have been eliminated as a result of using its Scan web site since 2006, Coverity said.

Developers who want to check the integrity of their code can submit it to the Coverity static scan and wait for the results. In 2006 the scan found roughly one defect per 3,333 lines of code, while this year the metric has improved by 20 per cent to approximately one defect per 4,000 lines of code.

Using a static scan makes it easier to repeat the same studies in the same environment, according to Coverity.

Results are reported using a 'scan ladder' to apply a scale of integrity to code and award a position on higher rungs to improving projects.

There are three rungs - 36 of the projects scanned are on Rung 2 and 144 projects are on Rung 1. The highest rung, Rung 3, contains just four projects - Samba, TOR, OpenPAM and Ruby. The company described these as " outstanding examples of high-integrity software", and applauded them for their nightly builds, continuous integration, unit tests and regression tests.

Common coding mistakes still persist and Coverity said that these were NULL pointer deferences, which appeared in almost a third of all programs, resource leaks, and unintentionally ignored expressions.

  • Email a Friend
  • Print Page
Coverity says open source is getting better
 

Copyright ©v3.co.uk

 


Comments

Be the first to comment on this article.
Thoughts on this article? Add a comment below.
Comment:
Want to participate in the discussion?
Or log in now to comment


Top Stories
A guided tour of Cisco's proof-of-concept centre
A data centre to test your customers' rigs.
 
Interview: Peter Kazacos and the "wild west" of IT
CRN talks to Hostech chairman and industry veteran, Peter Kazacos.
 
On the Move: March
Updated: Appointments and promotions.
 
Shortcutsall you need to know on...
  • How to run your business successfully 
  • NBN 
  • Windows 7 
  • Unified Communications 
  • Smart Power 
Latest Comments
"Microsoft, CompTIA and others are not a true indicator of an individual or company, and neither ..."
by thesandman Mar 22, 2010 5:28 PM
 
"Informative post. thanks for the info shared here about the Cloud computing conference. Recently ..."
by shruthihr_80 Mar 20, 2010 10:37 PM
 
"Haha...What a sad little man JL must be. Whinges about the NBN now wants in on it, We don't want ..."
by firey1 Mar 20, 2010 4:56 PM
 
"Thanks Glen, I've made those corrections."
by sholtomacpherson Mar 19, 2010 10:33 AM
 
"This result is the law! It even applies to the small telco sellers in the mall of a shopping ..."
by peter Mar 18, 2010 9:10 PM
Polls
Have you experienced a problem when returning faulty goods to online retailers?


   |   View results
Never
  31%
 
Only once
  25%
 
All the time
  44%
TOTAL VOTES: 16

Vote now
CRN Magazine

Issue: 277 | March, 2010

CRN Magazine looks in-depth at the emerging issues and developments for the Channel, and provides insight, analysis and strategic information to help resellers better run their businesses.