Automation for the people: Improving code with Eclipse plugins
Automate code quality analysis within Eclipse with five helpful plugins
What
if you were able to discover potential problems in your code prior to
building it? Interestingly enough, there are Eclipse plugins for tools
such as JDepend and CheckStyle that can help you discover problems
before they are manifested in software.
In the fifth installment of his "Automation for the people" series, Stelligent CTO, Paul Duvall,
provides examples of installing, configuring, and using these static
analysis plugins in Eclipse so that you can prevent problems early in
the development life cycle.
Published by the popular IBM developerWorks, Paul covers what he considers to be the "big five" code analysis areas:
- Coding standard
- Code duplication
- Code coverage
- Dependency analysis
- Complexity monitoring
And how these analysis areas can be uncovered using a number of the following slick Eclipse plugins:
- CheckStyle: For coding standards
- PMD's CPD: Enables discovering code duplication
- Coverlipse: Measures code coverage
- JDepend: Provides dependency analysis
- Eclipse Metrics plugin: Effectively spots complexity
The Automation for the people series
explores the practical uses of automating software development
processes and teaching you when and how to apply automation
successfully. If you have thoughts, questions, or comments explore
developerWorks' "Improve Your Java Code Quality" discussion forum.
|