Evaluating static analysis defect warnings on production software
Nathaniel Ayewah, William Pugh, J. David Morgenthaler et al. · ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering (PASTE) · 2007
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.
Cited by 213 works. doi:10.1145/1251535.1251536
Authors
References
- Bugs as deviant behavior
- A Comparison of Bug Finding Tools for Java
- Testing static analysis tools using exploitable buffer overflows from open source code
- Have things changed now?
- Tracking defect warnings across versions
- Comparing Bug Finding Tools with Reviews and Tests
- Static error detection using semantic inconsistency inference
- Comparing Bug Finding Tools with Reviews and Tests
- How to write system-specific, static checkers in metal
- An Evaluation of Two Bug Pattern Tools for Java