Government Technology

    Digital Communities
    Industry Members

  • Click sponsor logos for whitepapers, case studies, and best practices.
  • McAfee

Report Says Open Source Code Grows More Secure

October 2, 2009 By

Many developers who write software in popular open source languages like Perl and Ruby are writing programs with more high-quality code these days, according to a recent survey conducted by Coverity Inc., a company that creates tools for software development and integrity - good news for security-minded consumers, to say the least.

"They've got just millions of users out there who are depending on the code. These developers know that and they take it fairly seriously, so they do a number of things to make their development practices as good as possible," said company Open Source Strategist and Scan Program Director David Maxwell.

The company released the 2009 Coverity Scan Open Source Report in September, the second of its kind and the result of an analysis of a three-year data pool of developer-submitted code that's been examined for software defects by the Coverity Scan project. Since 2006, the company's Scan site has given more than 60 million lines of code the once-over from more than 280 projects like Firefox, Linux and PHP.

According to Coverity Scan, there's been a 16 percent reduction in defect density, or the ratio of the number of defects identified in every 1,000 lines of code, during the past three years of analysis.

Maxwell finds this gradual improvement in code quality encouraging.

"I think that years ago, people wrote open source for their own purposes to solve their own problems and they didn't necessarily expect that some of the code was going to become as widely used as it is today," he said. Nowadays, people behind projects get the point that writing secure programs is important as well, not just programs that work.

"There are more and more projects today that are seeing the implications of what a bug in their software could mean," Maxwell said.

Developers who submit their programs to Coverity Scan can use the analysis to locate bugs and fix them according to the findings. Coverity ranks certain programs in a ladder system depending on how secure they are - Rung 3 the most secure and Rung 1 the least. When Coverity released its first report in 2008, 11 projects had moved to Rung 2 from Rung 1. That number grew to 36 in the 2009 edition.

"Since 2006, because of this effort, more than 11,200 defects have been eliminated before they made it to the end-users, so if you multiply that times the millions of users who interact with the software on a daily basis, we're quite satisfied that we're making a good impact," Maxwell said.

The 2009 report also claims that fewer code bugs are found further down in code functions. In other words, if a developer writes a program "action" that consists of several lines of code, the farther down you get in the lines, the fewer errors you'll see than near or at the top.

The Scan project was created after the Coverity Scan Initiative was launched in 2006 with funding from the U.S. Department of Homeland Security.


| More


Add Your Comment

You are solely responsible for the content of your comments. We reserve the right to remove comments that are considered profane, vulgar, obscene, factually inaccurate, off-topic, or considered a personal attack.

In Our Library

White Papers | Exclusives Reports | Webinar Archives | Best Practices and Case Studies
Digital Cities & Counties Survey: Best Practices Quick Reference Guide
This Best Practices Quick Reference Guide is a compilation of examples from the 2013 Digital Cities and Counties Surveys showcasing the innovative ways local governments are using technological tools to respond to the needs of their communities. It is our hope that by calling attention to just a few examples from cities and counties of all sizes, we will encourage further collaboration and spark additional creativity in local government service delivery.
Wireless Reporting Takes Pain (& Wait) out of Voting
In Michigan and Minnesota counties, wireless voting via the AT&T network has brought speed, efficiency and accuracy to elections - another illustration of how mobility and machine-to-machine (M2M) technology help governments to bring superior services and communication to constituents.
Why Would a City Proclaim Their Data “Open by Default?”
The City of Palo Alto, California, a 2013 Center for Digital Government Digital City Survey winner, has officially proclaimed “open” to be the default setting for all city data. Are they courageous or crazy?
View All