Skip to content

dspinellis/ckjm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7fb6794 · Jan 14, 2025
Jan 14, 2025
Apr 4, 2012
Apr 1, 2017
Feb 24, 2024
Feb 26, 2019
Apr 4, 2012
Feb 26, 2019
Sep 22, 2016
Apr 4, 2012
Sep 22, 2016
Mar 3, 2018
Jan 1, 2019
Apr 4, 2012
Aug 11, 2013
Feb 24, 2024
Jul 29, 2014
Jan 14, 2025
Aug 11, 2013

Repository files navigation

Chidamber and Kemerer Java Metrics

DOI

The program ckjm calculates Chidamber and Kemerer object-oriented metrics by processing the bytecode of compiled Java files. The program calculates for each class the following six metrics proposed by Chidamber and Kemerer.

  • WMC: Weighted methods per class
  • DIT: Depth of Inheritance Tree
  • NOC: Number of Children
  • CBO: Coupling between object classes
  • RFC: Response for a Class
  • LCOM: Lack of cohesion in methods

In addition it also calculates for each class

  • Ca: Afferent couplings
  • NPM: Number of public methods

If you use this tool in your research, please cite the following paper.

Diomidis Spinellis. Tool writing: A forgotten art? IEEE Software, 22(4):9–11, July/August 2005. doi:10.1109/MS.2005.111.

Visit the project's home page for more information.