To what extent could we detect field defects? an empirical study of false negatives in static bug finding tools
Authors:
Open Access
- 3 September 2012
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 50-59
Abstract
Software defects can cause much loss. Static bug-finding tools are believed to help detect and remove defects. These tools are designed to find programming errors; but, do they in fact help prevent actual defects that occur in the field and reported by users? If these tools had been used, would they have detected these field defects, and generated warnings that would direct programmers to fix them? To answer these questions, we perform an empirical study that investigates the effectiveness of state-of-the-art static bug finding tools on hundreds of reported and fixed defects extracted from three open source programs: Lucene, Rhino, and AspectJ. Our study addresses the question: To what extent could field defects be found and detected by state-of-the-art static bug-finding tools? Different from past studies that are concerned with the numbers of false positives produced by such tools, we address an orthogonal issue on the numbers of false negatives. We find that although many field defects could be detected by static bug finding tools, a substantial proportion of defects could not be flagged. We also analyze the types of tool warnings that are more effective in finding field defects and characterize the types of missed defects.Keywords
This publication has 38 references indexed in Scilit:
- A decade of software model checking with SLAMCommunications of the ACM, 2011
- Why does Astrée scale up?Formal Methods in System Design, 2009
- EXEACM Transactions on Information and System Security, 2008
- Toward an understanding of bug fix patternsEmpirical Software Engineering, 2008
- The software model checker BlastInternational Journal on Software Tools for Technology Transfer, 2007
- Adaptively ranking alerts generated from automated static analysisXRDS: Crossroads, The ACM Magazine for Students, 2007
- SaturnACM Transactions on Programming Languages and Systems, 2007
- When do changes induce fixes?ACM SIGSOFT Software Engineering Notes, 2005
- CCured: type-safe retrofitting of legacy softwareACM Transactions on Programming Languages and Systems, 2005
- SPIN model checking: an introductionInternational Journal on Software Tools for Technology Transfer, 2000