Skip to main content

Improving your software using static analysis to find bugs

Publication ,  Conference
Cole, B; Hakim, D; Hovemeyer, D; Lazarus, R; Pugh, W; Stephens, K
Published in: Proceedings of the Conference on Object-Oriented Programming Systems, Languages, and Applications, OOPSLA
December 1, 2006

FindBugs looks for bugs in Java programs. It is based on the concept of bug patterns. A bug pattern is a code idiom that is often an error. Bug patterns arise for a variety of reasons, such as difficult language features, misunderstood API semantics, misunderstood invariants when code is modified during maintenance, garden variety mistakes: typos, use of the wrong boolean operator and simple mistakes such as typos.FindBugs uses static analysis to inspect Java bytecode for occurrences of bug patterns. We have found that FindBugs finds real errors in most Java software. Because its analysis is sometimes imprecise, FindBugs can report false warnings, which are warnings that do not indicate true errors. In practice, the rate of false warnings reported by FindBugs is generally lower than 50%, often much lower.

Duke Scholars

Published In

Proceedings of the Conference on Object-Oriented Programming Systems, Languages, and Applications, OOPSLA

DOI

Publication Date

December 1, 2006

Volume

2006

Start / End Page

673 / 674
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Cole, B., Hakim, D., Hovemeyer, D., Lazarus, R., Pugh, W., & Stephens, K. (2006). Improving your software using static analysis to find bugs. In Proceedings of the Conference on Object-Oriented Programming Systems, Languages, and Applications, OOPSLA (Vol. 2006, pp. 673–674). https://doi.org/10.1145/1176617.1176667
Cole, B., D. Hakim, D. Hovemeyer, R. Lazarus, W. Pugh, and K. Stephens. “Improving your software using static analysis to find bugs.” In Proceedings of the Conference on Object-Oriented Programming Systems, Languages, and Applications, OOPSLA, 2006:673–74, 2006. https://doi.org/10.1145/1176617.1176667.
Cole B, Hakim D, Hovemeyer D, Lazarus R, Pugh W, Stephens K. Improving your software using static analysis to find bugs. In: Proceedings of the Conference on Object-Oriented Programming Systems, Languages, and Applications, OOPSLA. 2006. p. 673–4.
Cole, B., et al. “Improving your software using static analysis to find bugs.” Proceedings of the Conference on Object-Oriented Programming Systems, Languages, and Applications, OOPSLA, vol. 2006, 2006, pp. 673–74. Scopus, doi:10.1145/1176617.1176667.
Cole B, Hakim D, Hovemeyer D, Lazarus R, Pugh W, Stephens K. Improving your software using static analysis to find bugs. Proceedings of the Conference on Object-Oriented Programming Systems, Languages, and Applications, OOPSLA. 2006. p. 673–674.

Published In

Proceedings of the Conference on Object-Oriented Programming Systems, Languages, and Applications, OOPSLA

DOI

Publication Date

December 1, 2006

Volume

2006

Start / End Page

673 / 674