summaryrefslogtreecommitdiff
path: root/devel/java-findbugs/pkg-descr
blob: 7ac633e35e184a0d4a7781e81ca293d51141b84e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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:

* Difficult language features
* Misunderstood API methods
* Misunderstood invariants when code is modified during maintenance
* Garden variety mistakes: typos, use of the wrong boolean operator

FindBugs uses static analysis to inspect Java bytecode for occurrences of
bug patterns.