In fact, the use of the tool is very simple, but want to summarize and introduce the corresponding indicator system through this log.
Chidamber and Kemerer (CK) Metrics (CK indicator) is a class of software source code metrics proposed in 1994, compared to traditional McCabe and Halstead Metrics, the CK indicator is specifically targeted at the object-oriented programming language, The corresponding papers are:
S. R. Chidamber and C. F. Kemerer, "A metrics suite for object oriented design," Software Engineering, IEEE transactions O N, vol, pp. 476-493, 1994.
This article has been cited 4,535 times in Google Scholar. It is very high.
The homepage of the first tool is in: http://www.spinellis.gr/sw/ckjm/, if we choose to download CKJM package–.zip This link, extract the jar package under the Build folder, and run it like this at the command line:
Java-jar Ckjm-1.9.jar D:\projects\20140415-classcohesion\test-code-2\*.class
You can implement the index calculation of all class files under a folder, about CK indicator, you can also look at the introduction: http://www.virtualmachinery.com/sidebar3.htm CKJM the indicator of this tool is explained here: http://www.spinellis.gr/sw/ckjm/doc/metric.html
Another tool is called: CKJM extended, as the name implies, is on the basis of the previous tools, adding a lot of indicators calculation. The methods used are basically the same.
Introduction to the two Java tools for calculating chidamber and kemerer indicators