To What Extent Could We Detect Field Defects? —An Empirical Study of False Negatives in Static Bug Finding Tools

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...

Full description

Saved in:
Bibliographic Details
Main Authors: Thung, Ferdian, Lucia, -, LO, David, JIANG, Lingxiao, Devanbu, Premkumar, Rahman, Foyzur
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2012
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/1570
http://dl.acm.org/citation.cfm?id=2351685
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-2569
record_format dspace
spelling sg-smu-ink.sis_research-25692012-09-24T03:48:42Z To What Extent Could We Detect Field Defects? —An Empirical Study of False Negatives in Static Bug Finding Tools Thung, Ferdian Lucia, - LO, David JIANG, Lingxiao Devanbu, Premkumar Rahman, Foyzur 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. 2012-09-01T07:00:00Z text https://ink.library.smu.edu.sg/sis_research/1570 info:doi/10.1145/2351676.2351685 http://dl.acm.org/citation.cfm?id=2351685 Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Static bug-finding tools field defects false negatives Computer Sciences Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Static bug-finding tools
field defects
false negatives
Computer Sciences
Software Engineering
spellingShingle Static bug-finding tools
field defects
false negatives
Computer Sciences
Software Engineering
Thung, Ferdian
Lucia, -
LO, David
JIANG, Lingxiao
Devanbu, Premkumar
Rahman, Foyzur
To What Extent Could We Detect Field Defects? —An Empirical Study of False Negatives in Static Bug Finding Tools
description 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.
format text
author Thung, Ferdian
Lucia, -
LO, David
JIANG, Lingxiao
Devanbu, Premkumar
Rahman, Foyzur
author_facet Thung, Ferdian
Lucia, -
LO, David
JIANG, Lingxiao
Devanbu, Premkumar
Rahman, Foyzur
author_sort Thung, Ferdian
title To What Extent Could We Detect Field Defects? —An Empirical Study of False Negatives in Static Bug Finding Tools
title_short To What Extent Could We Detect Field Defects? —An Empirical Study of False Negatives in Static Bug Finding Tools
title_full To What Extent Could We Detect Field Defects? —An Empirical Study of False Negatives in Static Bug Finding Tools
title_fullStr To What Extent Could We Detect Field Defects? —An Empirical Study of False Negatives in Static Bug Finding Tools
title_full_unstemmed To What Extent Could We Detect Field Defects? —An Empirical Study of False Negatives in Static Bug Finding Tools
title_sort to what extent could we detect field defects? —an empirical study of false negatives in static bug finding tools
publisher Institutional Knowledge at Singapore Management University
publishDate 2012
url https://ink.library.smu.edu.sg/sis_research/1570
http://dl.acm.org/citation.cfm?id=2351685
_version_ 1770571304225734656