Other than unit testing (junit), integration testing, continuous integration, continuous deployment, monitoring, ABtesting, and such -- there are concrete additional tools in Eclipse to help get a view and a feel of your code:
* Coverage
"EclEmma" is a code coverage plugin for eclipse - for more details see: http://www.eclemma.org/
Update site for eclipse is : http://update.eclemma.org/
* Profiling
The Eclipse Test and Performance Tools Platform (TPTP) Project provides an open platform supplying powerful frameworks and services that allow software developers to build unique test and performance tools, both open source and commercial, that can be easily integrated with the platform and with other tools.
For more information on the project - http://www.eclipse.org/tptp/
You can install the plugin using the existing update sites of the eclipse - search for TPTP plugin
* Static Code Analysis
Static Analysis tools examine the code without actually executing it. 2 of the most popular tools for Java are Findbugs, and PMD. PMD is much more thorough, and easier to extend, but requires a lot of initial configuration to get right.
Static Analysis tools can be executed manually by developers from IDE / command-line, and in CI (TeamCity).
Findbugs
Findbugs looks for "bug patterns" - code instances that are likely to be errors, or are known as dodgy, or bad practice. Issues detected by findbugs are in most cases real bugs!
Install Eclipse Plugin
Help -> Install New Software -> click the 'Add' button
Name: findbugs
Location: http://findbugs.cs.umd.edu/eclipse
Now select findbugs update site from the dropdown menu, and check fnidbugs.
* Coverage
"EclEmma" is a code coverage plugin for eclipse - for more details see: http://www.eclemma.org/
Update site for eclipse is : http://update.eclemma.org/
* Profiling
The Eclipse Test and Performance Tools Platform (TPTP) Project provides an open platform supplying powerful frameworks and services that allow software developers to build unique test and performance tools, both open source and commercial, that can be easily integrated with the platform and with other tools.
For more information on the project - http://www.eclipse.org/tptp/
You can install the plugin using the existing update sites of the eclipse - search for TPTP plugin
* Static Code Analysis
Static Analysis tools examine the code without actually executing it. 2 of the most popular tools for Java are Findbugs, and PMD. PMD is much more thorough, and easier to extend, but requires a lot of initial configuration to get right.
Static Analysis tools can be executed manually by developers from IDE / command-line, and in CI (TeamCity).
Findbugs
Findbugs looks for "bug patterns" - code instances that are likely to be errors, or are known as dodgy, or bad practice. Issues detected by findbugs are in most cases real bugs!
Install Eclipse Plugin
Help -> Install New Software -> click the 'Add' button
Name: findbugs
Location: http://findbugs.cs.umd.edu/eclipse
Now select findbugs update site from the dropdown menu, and check fnidbugs.
No comments:
Post a Comment