List of tools for Java software metrics

by Martin Monperrus
This document aims to be a comprehensive list of tools that measure Java software.

Thanks in advance for the feedback: Martin Monperrus

Other tools (e.g. coding standard checkers, navigation tools, vizualisation tools, refactoring/reengineering tools, cost estimation tools) provide metrics; eg. Checkstyle, Jcsc, PMD, Findbugs, Jrefactory, SEER, QAC, Coverity, Polyspace, Klocwork, FxCop, StyleCop, etc.

Similar lists: Zoran Putnik's list, @QSM, @LAATUK, Wikipedia's list of tools for static analysis.

Thanks a lot to the contributors of this page: Boris Baldassari

License or Price Input format Distrib size Source size Written in Metrics supported Output Comments

Free

jpeek Free (MIT) binary code - - Java - added on January 2017, uses Javassist
cloc Free source code 382kb - Perl -
CodeAnalyzer Free source code 411kb - Java -
CCCC Free source code - - C/C++ - [html]
Ohcount Free source code 307 kb - Ruby loc [txt] Powers http://www.ohloh.net/. Detects licenses.
Metrics Free bytecode 1.9 Mb 13.51 KLOC (JavaNCSS) Java here Needs an external xsl style sheet for
formatting xml
JMT Free bytecode 485k Java here [screenshot]
DependencyFinder Free bytecode 3.5 Mb 17.41 KLOC (JavaNCSS) Java here -
JDepend Free bytecode - - Java here -
CKJM Free bytecode 1 Mb 0.33 KLOC (JavaNCSS) Java here [txt] Lighweight
Cyvis Free bytecode 3.6 Mb 2.5 KLOC (JavaNCSS) Java here [screenshot] Nice presentation
JavaNCSS Free source 1.1 Mb 37.49 KLOC (JavaNCSS) Java sloc - NCSS et CCN clearly defined
SLOCCount Free source 187k 3.5 KLOC Perl/C sloc [txt]
CodeCount Free source - 3 KLOC C sloc -
LOCC Free source 2.2 Mb 24.45 KLOC (JavaNCSS) Java sloc - superseeds the older tool JavaCount

Free but not tested

JMT Free source - - - - - you have to process a project file by file
BCML Free bytecode - - - - - unable to run it
Reposita
Meaxure
Free - - - - - - unavailable on 30/10/2007
JMetric Free source - - - - - Jmetric parser failed on Tomcat v6.0.9
JCVSReport Free cvs files - - - - - I don't have rcs files of tomcat
ES2 Free source - - - - - unable to run it (on top of sourcenav, quite complex, failed to install and run it on a debian linux machine)

Commercial

Logiscope/Kalimetrix - - - - - NA Added March 2013, formerly supported by IBM
Squoring - - 108 MB win - Java [html] NA Added March 2013
CodeReports 2000$ - 3.3Mb win - - [html] NA
Ndepend 415$ - 6.3 Mb win - - [html] -
JHawk 60$ - 936k eclipse - - [html] NA
Understand
for Java
495$ - 26.8 Mb linux/win - Perl [html] [txt] [sample]
Resource
Standard Metrics
200$ - 12.68Mb linux/win - - [html] [sample]
Imagix
4D
2000$ - 4.5Mb linux/win - - [html] [sample]
Essential Metrics - - 6Mb win - - [pdf] [sample]
QSM
SLIM-Metrics
- - - - - - -
Semantic
Designs: Java Source Code Metrics
250$ - - - - [html] -
Integrated
Software Metrics / Predictive 3.0
- - unavailable 18/6/2008 - - - -
Tagged as: