BLOG.TIGABEATS.COM

A shrine where thoughts, ideas and random stuff is preserved

Automated Code review

PMD eclipse plugin, which one can extend with custom rules.

There is also a Maven plugin for this: http://maven.apache.org/plugins/maven-pmd-plugin/ and Bamboo plugin: https://plugins.atlassian.com/5987

Automated html reports can be generated using the maven plugin  or Bamboo plugin during each build in bamboo in continuous manner,. and have the reports available to everyone who has access to bamboo. however PMD reports might be too detailed to do High level sprint to sprint analysis. however it does show the results in three categories: High Medium and Low violations.

The other tool (Eclipse plugin) which i personally like and has more functionality to it and better reports is : CodePro https://developers.google.com/java-dev-tools/codepro/doc/ But it doesn’t have a plugin for bamboo, however we can easily extend the default maven build pom to execute CodePro Ant tasks using Maven AntRun Plugin.

CodePro Management reports look like this: https://developers.google.com/java-dev-tools/codepro/doc/features/audit/audit_series_report

I will write a detailed document when i get time explaining how to achieve the automated analysis end to end.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>