Paul Duvall and Levent Gurses have posted a vidcast (video podcast) discussing Gurses’ presentation at the Better Software Conference next week in Vegas. event talks about the key Eclipse plug-ins that help track code quality metrics. He mentioned that he will be talking about the built in features of eclipse, and a set of five important plug-ins that are open source and free, and mostly focusing on software metrics.
The 60-minute presentation will include the following plug-ins:
JDepened: Traverses Java class file directories and generates design quality metrics for each Java package. It lets you analyse the code immediately in the environment without going in through a third party. It allows you to detect any undesired dependencies.
Coverlipse: An Eclipse plug-in that visualises the code coverage of JUnit tests. It gives you a class level code coverage, package level code coverage and even a method level code coverage, so you can see down to each method and each line to see which line is covered and which is not.
Checkstyle: A development tool to help programmers write Java code that adheres to a coding standard. It also has a copy and paste detection tool inside it. Gurses says he finds it in the same category as PMD. The differences between the two are style differences, but they are similar in functionality. He adds that he finds Checkstyle to be more user friendly to use, and easier to customise and export.
PMD: One of the most widely used tools in the open source market today in terms of code quality. It scans Java source code and looks for potential problems such as complexity, coverage and coding standards violations.
Metrics: Similar to PNMD and Checkstyle, but this one gives a different view of the code. Bounded metrics alerts give real-time feedback from within Eclipse.
He makes a couple of key observations:
Choice of tool selection should be based on potential areas of weakness
Code inspection tools can be used on both the developer's desktop and the build