03 - Qualimetric configuration
As we wish to preserve the quality of our code, and even improve it, we use the following standards via Checkstyle, Findbugs and PMD. You can use them too if you want (in fact, you must if you want to share your code with the community).
For raw build
Download the three configuration files joined to this article, and install them your way.
For Eclipse IDE build
Download the three configuration files joined to this article.
Checkstyle
Download Checkstyle from the Eclipse Marketplace.
In Checkstyle properties, add checkstyle-config.xml as an external configuration file.
Put this new configuration as the default configuration.
Then, for each of your project, you need to manually activate Checkstyle.
PMD
Install PMD in Eclipse as new software, following these instructions.
This plugin isn’t quite recent, but as far as we have seen, the eclipse 3 version works well with eclipse 4.2.
In PMD properties, first "clear all" existing rules and then import pmd-config.xml.
FindBugs
Download FindBugs from the Eclipse Marketplace.
In Java > FindBugs properties, add findbug-config.xml under "include filter files".
For each Java projects, you need to manually run FindBugs analysis (right click > FindBugs > FindBugs)