Many of my friends may have seen Mr. Jin Yong's "Yi Tian tu long Kee", which shows how awesome the Yi Tian Jian and Tu Long Bao Dao are. The inspiration to us is a good tool in hand, better than a million masters.
The same is true for developers. Good tools allow us to get twice the result with half the effort and improve our realm and grasp the robustness of software. Because we can use some tools to generate data and reports that customers like to see.
First, let's look at FindBugs. (Because our errors are generally divided into two types: static errors and dynamic errors, that is, runtime errors. FindBugs is a static error analysis tool for Java code .)
1) Installation
Help-> SoftWare Updates and Add-ons-> Available software-> Add Site:
Http://findbugs.cs.umd.edu/eclipse
After installation, restart.
2) Configuration
Select a project-> properties-> FindBugs-> Run FindBugs automatically
3) display the FindBugs window
Window-> Show View-> Other
Select Bug Explorer
4) Use
Right-click your project and choose FindBugs from the shortcut menu.
5) Results
The result is displayed in FindBugs Explorer.
From: androidzhaoxiaogang's column