Java Code Metrics Report

Java Code Metrics Report

This is the dream for Managers to have code report for each project. In Java we have tools like check style, PMD, CPD, Cobertura Test Coverage, ..etc. We need to have tool which can track all this results on day to day basis and helps to track down the progress in project. To achieve this we have following tools.

XRadar –

Maven Dashboard Plug-in –

QA Lab –

Sonar –

Hacky Stat –


  1. It supports branches and multiple projects
  2. Nice time lines
  3. Tabular and graphical views
  4. Separate database to track huge past history.

JcReport –

(Only with Ant…no maven support)

The best tool worked out for me is Sonar.

Here is the Sonar demo site

Problems faced in Sonar setup as on Nov-04-2008

Problem: sonar-1.4.3 is having issues and there is ticket

Solution: Sonar 1.4.2 is working fine.

Problem: MySQL database in Windows with McAfee is having problem while using Windows/Temp folders

Embedded error: org.hibernate.exception.GenericJDBCException: could not get table metadata: rules_categories

Can’t create/write to file ‘C:WINDOWSTEMP#sql_12a8_0.MYI’ (Errcode: 13)


my.ini file in mysql folder

#Added to escape from McAfee




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.