Evaluating static analysis defect warnings on production software
The DOI matches its Crossref record; 5 of the 5 references it cites were found in a registry or an index.
Abstract
Static analysis tools for software defect detection are becoming widely used in practice. However, there is little public information regarding the experimental evaluation of the accuracy and value of the warnings these tools report. In this paper, we discuss the warnings found by FindBugs, a static analysis tool that finds defects in Java programs. We discuss the kinds of warnings generated and the classification of warnings into false positives, trivial bugs and serious bugs. We also provide some insight into why static analysis tools often detect true but trivial bugs, and some information about defect warnings across the development lifetime of software release. We report data on the defect warnings in Sun's Java 6 JRE, in Sun's Glassfish JEE server, and in portions of Google's Java codebase. Finally, we report on some experiences from incorporating static analysis into the software development process at Google.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Bugs as deviant behavior: a general approach to inferring errors in systems code
Engler, D., Chen, D. Y., Hallem, S., Chou, A., & Chelf, B. (2001) · Proceedings of the eighteenth ACM symposium on Operating systems principles · doi:10.1145/502034.502041 · Cited by 737 · cited 1×
“Even when data is published, there is not signi.cant agreement on standards for how to evaluate and categorize warnings.”
BackgroundHave things changed now?: an empirical study of bug characteristics in modern open source software
Li, Z., Tan, L., Wang, X., Lu, S., Zhou, Y., & Zhai, C. (2006) · Proceedings of the 1st workshop on Architectural and system support for improving software dependability · doi:10.1145/1181309.1181314 · Cited by 291 · cited 1×
“[7] examined the commit logs and messages to classify the occurrence of bugs characteristics and patterns.”
BackgroundSelf-citationA Comparison of Bug Finding Tools for Java
Rutar, N., Almazan, C. B., & Foster, J. S. (2005) · 15th International Symposium on Software Reliability Engineering · doi:10.1109/issre.2004.1 · Cited by 276 · cited 1×
“Rutar et al [9] studied ESC/Java, FindBugs, JLint and PMD.”
BackgroundComparing Bug Finding Tools with Reviews and Tests
Wagner, S., Jürjens, J., Koller, C., Trischberger, P., & München, T. U. (2005) · Cited by 110
Comparing Bug Finding Tools with Reviews and Tests
Wagner, S., Jürjens, J., Koller, C., & Trischberger, P. (2005) · Lecture notes in computer science · doi:10.1007/11430230_4 · Cited by 80 · cited 1×
“…Descriptors F.3.2 [Semantics of Programming Languages]: Program analysis; D.2.4 [Software/Program Veri.cation]: Reliability General Terms Experimentation, Reliability, Security Keywords FindBugs, static analysis, bugs, software defects, bug patterns, false positives, Java, software quality 1.”
MethodInfluential
Cited by
A Systematic Literature Review on Fault Prediction Performance in Software Engineering
Hall, T., Beecham, S., Bowes, D., Gray, D., & Counsell, S. (2012) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2011.103 · Cited by 1,154
Deep Learning Based Vulnerability Detection: Are We There Yet?
Chakraborty, S., Krishna, R., Ding, Y., & Ray, B. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3087402 · Cited by 790
Using Static Analysis to Find Bugs
Ayewah, N., Pugh, W., Hovemeyer, D., Morgenthaler, J. D., & Penix, J. (2008) · IEEE Software · doi:10.1109/ms.2008.130 · Cited by 534
Self-citationAnalyzing the State of Static Analysis: A Large-Scale Evaluation in Open Source Software
Beller, M., Bholanath, R., McIntosh, S., & Zaidman, A. (2016) · 2016 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER) · doi:10.1109/saner.2016.105 · Cited by 219
“and others observed that 15% of all detected defects were functional and the rest maintainability-related [15], [19], [20].”
BackgroundLi, Y., Wang, S., Nguyen, T. N., & Van Nguyen, S. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3360588 · Cited by 162
“First, we compare our tool against the existing bug detection tools using rule-based techniques including FindBugs [Ayewah et al. 2007], mining techniques including Bugram [Wang et al. 2016a] and NAR-miner [Bian et al. 2018], and deep learning techniques including DeepBugs [Pradel and Sen 2018].”
Method
Metadata
- Authors
- Ayewah, N., Pugh, W., Morgenthaler, J. D., Penix, J., & Zhou, Y.
- Venue
- Proceedings of the 7th ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering
- Publisher
- ACM
- Published
- 2007-06-13
- Pages
- 1-8
- OpenAlex
- W2125343911
- Cited by
- 213
- References
- 5
- FWCI
- 9.69
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.