How to interpret resultsIf you introduce FlexPMD to an existing projects, the number of violations can be scary (5000+ is not surprising). For this reason, it is best to apply FlexPMD from the start of a project, always keeping on top of the violations. You also have to keep in mind that all the rules are not necessarily relevant to your projects or expectations. The ruleset can be fine tuned to satisfy your requirements. A Flex application has been built to help manage your rulesets, including adding and removing rules and changing their priority. The application can then export the ruleset, ready for use with Flex PMD. The Trend GraphWhen you invoke FlexPMD from your continuous integration server, as descried in this tutorial, a trend graph will be produced showing the results of each execution. An example is shown in the figure below. Useful MetricsThe report generated by FlexPMD contains various other useful metrics. Some of the most useful of these are the new and the fixed violations after each build, shown in the figure below: |
|