Using Static Analysis to Find Bugs
Nathaniel Ayewah, William Pugh, David Hovemeyer et al. · IEEE Software · 2008
Static analysis examines code in the absence of input data and without running the code. It can detect potential security violations (SQL injection), runtime errors (dereferencing a null pointer) and logical inconsistencies (a conditional test that can't possibly be true). Although a rich body of literature exists on algorithms and analytical frameworks used by such tools, reports describing experiences in industry are much harder to come by. The authors describe FindBugs, an open source static-analysis tool for Java, and experiences using it in production settings. FindBugs evaluates what kinds of defects can be effectively detected with relatively simple techniques and helps developers understand how to incorporate such tools into software development.
Cited by 534 works. doi:10.1109/ms.2008.130
Authors
References
- A static analyzer for finding dynamic programming errors
- Secure Programming with Static Analysis
- Evaluating static analysis defect warnings on production software
- Tracking defect warnings across versions
- Evaluating and tuning a static analysis to find null pointer bugs
- Finding more null pointer bugs, but not too many
- Evaluating and tuning a static analysis to find null pointer bugs
- Checking C programs with lint
- How to write system-specific, static checkers in metal
- Uprooting Software Defects at the Source