2005 · 275 citations · 13 references
ComputingComputer ScienceProgramming LanguagesSoftware EngineeringSystems ProgrammingSoftware TestingStatic Code AnalysisAutomated Bug FindingBug LocalizationExperimental Results InterpretationStatic Bug Detection
Software bugs are costly and difficult to detect, and while many static analysis tools exist, the practical tradeoffs among them remain poorly understood. This study evaluates five Java bug‑finding tools—Bandera, ESC/Java 2, FindBugs, JLint, and PMD—and proposes a meta‑tool that aggregates their warnings. The authors applied the tools to diverse Java programs, cross‑checked their reports, analyzed the underlying techniques, and examined how these techniques influence the tools’ outputs. Results show that no single tool subsumes the others and that the tools frequently detect distinct, nonoverlapping bugs.
Bugs in software are costly and difficult to find and fix. In recent years, many tools and techniques have been developed for automatically finding bugs by analyzing source code or intermediate code statically (at compile time). Different tools and techniques have different tradeoffs, but the practical impact of these tradeoffs is not well understood. In this paper, we apply five bug finding tools, specifically Bandera, ESC/Java 2, FindBugs, JLint, and PMD, to a variety of Java programs. By using a variety of tools, we are able to cross-check their bug reports and warnings. Our experimental results show that none of the tools strictly subsumes another, and indeed the tools often find nonoverlapping bugs. We discuss the techniques each of the tools is based on, and we suggest how particular techniques affect the output of the tools. Finally, we propose a meta-tool that combines the output of the tools together, looking for particular lines of code, methods, and classes that many tools warn about.
13
Gerard J. Holzmann · IEEE Transactions on Software Engineering · 1997 · 3.8K citations
Extended static checking for Java
Cormac Flanagan, K. Rustan M. Leino, Mark Lillibridge et al. · 2002 · 1.3K citations
James C. Corbett, Matthew B. Dwyer, John Hatcliff et al. · 2000 · 1.1K citations · Full text