https://github.com/dspinellis/ckjm
Chidamber and Kemerer Java Metrics
https://github.com/dspinellis/ckjm
java metrics
Last synced: 10 months ago
JSON representation
Chidamber and Kemerer Java Metrics
- Host: GitHub
- URL: https://github.com/dspinellis/ckjm
- Owner: dspinellis
- License: apache-2.0
- Created: 2012-04-04T13:24:37.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2025-01-14T07:57:47.000Z (about 1 year ago)
- Last Synced: 2025-03-29T17:12:20.172Z (10 months ago)
- Topics: java, metrics
- Language: HTML
- Homepage: http://www.spinellis.gr/sw/ckjm/
- Size: 2.76 MB
- Stars: 96
- Watchers: 8
- Forks: 47
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chidamber and Kemerer Java Metrics
[](https://zenodo.org/badge/latestdoi/3928910)
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?](http://www.spinellis.gr/pubs/jrnl/2005-IEEESW-TotT/html/v22n4.html) _IEEE Software_, 22(4):9–11, July/August 2005. [doi:10.1109/MS.2005.111](http://dx.doi.org/10.1109/MS.2005.111).
Visit the project's [home page](http://www.spinellis.gr/sw/ckjm/) for more information.