X

Study finds early Apache code so-so

The quality of the source code for a newer version of the Apache Web server software is on par with that of proprietary rivals at a similar stage of development, a new study finds.

Stephen Shankland Former Principal Writer
Stephen Shankland worked at CNET from 1998 to 2024 and wrote about processors, digital photography, AI, quantum computing, computer science, materials science, supercomputers, drones, browsers, 3D printing, USB, and new computing technology in general. He has a soft spot in his heart for standards groups and I/O interfaces. His first big scoop was about radioactive cat poop.
Expertise Processors, semiconductors, web browsers, quantum computing, supercomputers, AI, 3D printing, drones, computer science, physics, programming, materials science, USB, UWB, Android, digital photography, science. Credentials
  • Shankland covered the tech industry for more than 25 years and was a science writer for five years before that. He has deep expertise in microprocessors, digital photography, computer hardware and software, internet standards, web technology, and more.
Stephen Shankland
2 min read
The source code for a newer version of the Apache Web server software is of the same quality as that of proprietary competitors at a similar stage of development, a new study has found.

The review compared version 2.1 of the Apache Web server software, which is used to house Web sites, with several commercial packages that handle the same chores. Reasoning, a company whose business is analyzing code quality, compared the recently released version with code of competitors at a similar stage of development.

The study found 0.53 defects per thousand lines of code for Apache, compared with 0.51 for the commercial software, on average.

The comparable defect rate indicates that open-source software starts out as raw as proprietary software, but Reasoning said that ultimately open-source software has the potential to exceed proprietary software in quality. That's significant given the increasingly widespread use of open-source software such as Linux, OpenOffice desktop suite and the MySQL database.

"The open-source code seems to start at the same defect rate for early commercial code as well," Jeff Klagenberg, director of project management, said in an interview. "Over time, it can gain higher levels of quality. That appears to be because of the natural inspection process inherent in open source."

The earlier study praised Linux for the quality of the component that handles the TCP/IP networking that underlies the Internet and many home and corporate networks. That code had a defect rate of 0.1 per 1,000 lines of code and was a more mature section of code.

Reasoning next is studying Tomcat, an Apache module that lets Web servers run Java programs, said Tom Fry, Apache's director of marketing. The company plans to release that study in about two weeks, he said.