Advertisment

Coverity enables Java-based ANTLR to find and fix critical, open source software defects

author-image
Harmeet
New Update

SAN FRANCISCO, USA: Coverity Inc., the leader in development testing, announced the results of its latest Coverity Scan™ Project Spotlight, which analyzed the ANTLR open source Java project, including defect density as compared to the industry average defect density for good quality software and types of defects identified.

Advertisment

ANTLR (ANother Tool for Language Recognition) is a powerful, Java-based parser generator for reading, processing, executing or translating structured text or binary files. The software, which is used to build languages, tools and frameworks, is downloaded more than 5,000 times per month and is used by a host of companies, including Apple, Oracle, Salesforce.com and Twitter.

Although the ANTLR project only started using the Scan service in late August 2013, it has already leveraged the Coverity development testing technology to find and fix 20 previously undiscovered, high- and medium-risk defects, including a resource leak and copy-paste error that could have caused a significant software crash in production.

Coverity expanded its free Coverity Scan service to include Java projects in May 2013, to help drive higher levels of software quality and security within the open source community. The Scan service uses Java analysis algorithms in the Coverity Development Testing Platform to find critical defects such as resource leaks and concurrency issues.

The service also uses a highly-tuned version of the FindBugs static analysis tool, which is integrated into the Coverity platform, to identify coding standard and style issues. Since August 2013, the Coverity Scan service has analyzed 43,000 lines of ANTLR code and identified 171 defects.

"ANTLR is one of a growing number of Java open source projects that have joined the Scan service to help enhance code quality," said Jennifer Johnson, chief marketing officer for Coverity. "The ANTLR team has done an excellent job of addressing key defects in their code in the short time that they have been participating in the service, and we look forward to continuing to work with them to ensure that their Java code is of the highest quality, as well as to further expanding our engagement with the Java community."

developer