What is FireBugs?
FindBugs is an open source program created by William Pugh which looks for bugs in Java code. It uses static analysis to identify hundreds of different potential types of errors in Java programs. FindBugs operates on Java bytecode,rather than source code. The software is distributed as a stand-alone GUI application. There are also plug-ins available for Eclipse, Netbeans, and IntelliJ IDEA
Official Website of FireBugs?
How to Install the Eclipse Plugin?
Demo & FAQ?
How does it work and how to use it?
a) After you install the eclipse plugin, restart eclipse.
b) Go to Window –> Show view –> other and select the find bug options available.
c) Open – perspective – Findbugs [Window –> open perspective–> findbugs]
c) Create a potential test class (with some obvious issues) like the following,
d) Initiate the find bugs by doing the following.
e) Now the errors get listed based on Project – Type – Package – Class – Priority – Category – Error – Location
f) Now you try to correct them