SpotBugs is the spiritual successor of FindBugs, carrying on from the point where it left off with support of its community. SpotBugs is a program which uses static analysis to look for bugs in Java code. It is free software, distributed under the terms of the GNU Lesser General Public License. SpotBugs checks for more than 400 bug patterns. If you want to check the description of these 400 bugs please go to Description of all the 400 bug Patterns of SpotBugs. SpotBugs Eclipse Plugin integrates SpotBugs seamlessly with the most popular Java IDE and allows to run SpotBugs analysis incrementally on changed files or on demand per project. A quick plugin introduction is available at http://andrei.gmxhome.de/findbugs/index.html, and a short video demo is available on Youtube as Five minutes FindBugs Eclipse Plugin Demo.
SpotBugs is valuable for both beginner and experienced programmers. If you just start to write Java applications, the tool will help you to learn better programming practices by explaining you the reasons why the code should be written in a different way. SpotBugs helps experienced developers to keep the code clean and to review other's code by simply running the analysis over the Java projects.
SpotBugs uses unique bytecode scanning techniques to analyze compiled Java code. In most cases the critical and medium severity bugs found by SpotBugs are real, serious programming errors, and not just coding style issues. This is the main differentiator to other similar tools like PMD and Checkstyle (both are source-code analyzer).
Minimum System Requirements
To use SpotBugs, you need a run-time environment compatible with Java version 1.8 or later. SpotBugs is platform independent, and is known to run on GNU/Linux, Windows, and MacOS X platforms. You should have at least 512 MB of memory to use SpotBugs. To analyze very large projects, more memory may be needed.
Installation : You can download for the eclipse marketplace from here Eclipse Marketplace : SpotBugs
References :
Comments
Post a Comment