Key open-source code passes muster
By Matt Whipp
Posted on 6 Mar 2006 at 12:37
Analysis of the source code for key open-source projects has shown fewer than 29 'defects' in every 100,000 lines of code.
Analysis of the LAMP stack - the Linux platform, Apache web server, MySQL database and Perl, PHP or Python scripting languages - showed that the commonly used open-source building blocks were well below the average for some 32 open-source projects scrutinised by Coverity.
These included the likes of Samba, gcc, Gnome and FreeBSD. The average score for the projects analysed was 43.4 defects per 100,000 lines of code.
Coverity undertook the task as part of a three-year contract for the US Department for Homeland Security, and the result will undoubtedly vindicate the use of open-source software within governmental departments.
Coverity uses software built by Stanford University computer scientists to analyse static source code, checking every code path for possible defects. It is much faster than performing the same task manually. Coverity reckons that analysing the Linux kernel at the same level would take 28 'man years'.
The open-source development model means that software does receive plenty of scrutiny from developers as it is public by nature. But having an automatic software tool helps ensure projects are not solely reliant on this.
'One of the goals ... is to define a baseline so that people can measure software reliability in both open-source and proprietary software projects,' said Ben Chelf, CTO, Coverity. 'However, our goal is not only to measure quality and security, but also to make the projects that we analyse better. By opening up our analysis results to the core developers of these open source projects, we hope to work with them to reduce the number of defects and vulnerabilities in their code bases.'
You can see the full list of results at http://scan.coverity.com/.
From around the web
advertisement
- Laptop bag reviews: nine tested
- Sony VAIO T Series Ultrabook review: first look
- Revealed: the military standards and robots HP uses to test its laptops
- Windows 8: multi-monitors and double standards?
- Why is TalkTalk's year-old porn filter suddenly big news?
- Why are laptop screens so far behind mobiles?
- HP EliteBook Folio review: first look
- The shoebox-sized all-in-one printer
- Forget the Ultrabook: here comes the HP Sleekbook
- HP Spectre XT review: first look
- Why you have to be left in the dark on OS patches
- Is Microsoft mismanaging Windows on ARM?
- Dealing with spam surrogates
- Why 3G broadband can be better and cheaper than ADSL
- Is Twitter bad for business?
- Publishing your email address isn't a security disaster
- Why you'll need a fax machine to develop iOS apps
- Learning to adapt to the mobile web
- Why you shouldn't use WPS on your Wi-Fi network
- Disabled users suffer when software breaks the rules
advertisement
