Debian Codegraph @

src/doc/factSheet.html

raw symbols SCIP
1 <html>
2 <head>
3 <title>FindBugs&trade; Fact Sheet</title>
4 <link rel="stylesheet" type="text/css" href="findbugs.css">
5 @GOOGLE_ANALYTICS@
6 </head>
7 <body>
8
9 <table width="100%"><tr>
10
11 @HTML_SIDEBAR@
12
13 <td align="left" valign="top">
14
15 <h1>FindBugs&trade; Fact Sheet</h1>
16
17 <p> FindBugs looks for bugs in Java programs.&nbsp; It is based
18 on the concept of <i>bug patterns</i>.&nbsp; A bug pattern is a code
19 idiom that is often an error.&nbsp; Bug patterns arise for a variety
20 of reasons:
21 </p>
22
23 <ul>
24 <li> Difficult language features
25 <li> Misunderstood API methods
26 <li> Misunderstood invariants when code is modified during maintenance
27 <li> Garden variety mistakes: typos, use of the wrong boolean operator
28 </ul>
29
30 <p> FindBugs uses <i>static analysis</i> to inspect Java bytecode
31 for occurrences of bug patterns.&nbsp;
32 Static analysis means that FindBugs can find bugs by simply inspecting
33 a program's code: executing the program is not necessary.&nbsp;
34 This makes FindBugs very easy to use: in general, you should be
35 able to use it to look for bugs in your code within a few minutes of downloading it.&nbsp;
36 FindBugs works by analyzing Java bytecode (compiled class files),
37 so you don't even need the program's source code to use it.&nbsp;
38 Because its analysis is
39 sometimes imprecise, FindBugs can report <i>false warnings</i>,
40 which are warnings that do not indicate real errors.&nbsp;
41 In practice, the rate of false warnings reported by FindBugs
42 is less than 50%.
43 </p>
44
45 <p>
46 FindBugs supports a plugin architecture allowing anyone to add new
47 bug detectors.&nbsp; The <a href="publications.html">publications page</a>
48 contains links to articles describing how to write a new detector
49 for FindBugs.&nbsp; If you are familiar with Java bytecode
50 you can write a new FindBugs detector in as little as a few minutes.
51 </p>
52
53 <p> FindBugs is free software, available under the terms of the
54 <a href="http://www.gnu.org/copyleft/lesser.html">Lesser GNU Public License</a>.&nbsp;
55 It is written in Java, and can be run with any virtual machine compatible
56 with Sun's JDK 1.5.&nbsp; It can analyze programs written for any version
57 of Java.&nbsp; FindBugs was originally developed by Bill Pugh and David Hovemeyer.&nbsp;
58 It is maintained by Bill Pugh, and
59 a <a href="team.html">team of volunteers</a>.
60 </p>
61
62 <p> FindBugs uses <a href="http://jakarta.apache.org/bcel/">BCEL</a> to
63 analyze Java bytecode.&nbsp;
64 As of version 1.1, FindBugs also supports bug detectors written using
65 the <a href="http://asm.objectweb.org/">ASM</a> bytecode framework.&nbsp;
66 FindBugs uses <a href="http://dom4j.org/">dom4j</a>
67 for XML manipulation.
68 </p>
69
70 @HTML_FOOTER@
71
72 </td>
73
74 </tr></table>
75
76 </body>
77 </html>