To what extent could we detect field defects? An extended empirical study of false negatives in static bug finding tools
Software defects can cause much loss. Static bug-finding tools are designed to detect and remove software defects and believed to be effective. However, do such tools in fact help prevent actual defects that occur in the field and reported by users? If these tools had been used, would they have dete...
Saved in:
Main Authors: | , , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2014
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/2435 https://ink.library.smu.edu.sg/context/sis_research/article/3435/viewcontent/art_3A10.1007_2Fs10515_014_0169_8.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-3435 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-34352017-02-05T03:40:12Z To what extent could we detect field defects? An extended empirical study of false negatives in static bug finding tools THUNG, Ferdian Lucia, Lucia LO, David JIANG, Lingxiao RAHMAN, Foyzur DEVANBU, Premkumar Software defects can cause much loss. Static bug-finding tools are designed to detect and remove software defects and believed to be effective. However, do such tools 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 five state-of-the-art static bug-finding tools (FindBugs, JLint, PMD, CheckStyle, and JCSC) 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 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. Furthermore, we analyze the effectiveness of the tools in finding field defects of various severities, difficulties, and types. 2014-09-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/2435 info:doi/10.1007/s10515-014-0169-8 https://ink.library.smu.edu.sg/context/sis_research/article/3435/viewcontent/art_3A10.1007_2Fs10515_014_0169_8.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University False negatives Static bug-finding tools Empirical study 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 |
False negatives Static bug-finding tools Empirical study Computer Sciences Software Engineering |
spellingShingle |
False negatives Static bug-finding tools Empirical study Computer Sciences Software Engineering THUNG, Ferdian Lucia, Lucia LO, David JIANG, Lingxiao RAHMAN, Foyzur DEVANBU, Premkumar To what extent could we detect field defects? An extended empirical study of false negatives in static bug finding tools |
description |
Software defects can cause much loss. Static bug-finding tools are designed to detect and remove software defects and believed to be effective. However, do such tools 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 five state-of-the-art static bug-finding tools (FindBugs, JLint, PMD, CheckStyle, and JCSC) 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 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. Furthermore, we analyze the effectiveness of the tools in finding field defects of various severities, difficulties, and types. |
format |
text |
author |
THUNG, Ferdian Lucia, Lucia LO, David JIANG, Lingxiao RAHMAN, Foyzur DEVANBU, Premkumar |
author_facet |
THUNG, Ferdian Lucia, Lucia LO, David JIANG, Lingxiao RAHMAN, Foyzur DEVANBU, Premkumar |
author_sort |
THUNG, Ferdian |
title |
To what extent could we detect field defects? An extended empirical study of false negatives in static bug finding tools |
title_short |
To what extent could we detect field defects? An extended empirical study of false negatives in static bug finding tools |
title_full |
To what extent could we detect field defects? An extended empirical study of false negatives in static bug finding tools |
title_fullStr |
To what extent could we detect field defects? An extended empirical study of false negatives in static bug finding tools |
title_full_unstemmed |
To what extent could we detect field defects? An extended empirical study of false negatives in static bug finding tools |
title_sort |
to what extent could we detect field defects? an extended empirical study of false negatives in static bug finding tools |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2014 |
url |
https://ink.library.smu.edu.sg/sis_research/2435 https://ink.library.smu.edu.sg/context/sis_research/article/3435/viewcontent/art_3A10.1007_2Fs10515_014_0169_8.pdf |
_version_ |
1770572145803395072 |