Skip to main content
Article
To What Extent Could We Detect Field Defects? —An Empirical Study of False Negatives in Static Bug Finding Tools
Research Collection School Of Computing and Information Systems
  • Ferdian Thung, Singapore Management University
  • - Lucia, Singapore Management University
  • David LO, Singapore Management University
  • Lingxiao JIANG, Singapore Management University
  • Premkumar Devanbu, University of California, Davis
  • Foyzur Rahman, University of California, Davis
Publication Type
Conference Paper
Publication Date
9-2012
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
  • Static bug-finding tools,
  • field defects,
  • false negatives
Identifier
10.1145/2351676.2351685
Publisher
27th IEEE/ACM International Conference on Automated Software Engineering (ASE)
Citation Information
Ferdian Thung, - Lucia, David LO, Lingxiao JIANG, et al.. "To What Extent Could We Detect Field Defects? —An Empirical Study of False Negatives in Static Bug Finding Tools" (2012)
Available at: http://works.bepress.com/david_lo/90/