ANALYSIS OF TOOLS FOR OBTAINING CHIDAMBER AND KEMMERER METRICS FROM SOFTWARE PROJECTS DEVELOPED IN JAVA
DOI:
https://doi.org/10.35546/kntu2078-4481.2025.2.2.26Keywords:
CK Metrics, object-oriented metrics, software metrics, measuring software metrics, Java, Android, IntelliJAbstract
Chidamber and Kemerer Metrics (CK Metrics) is a widely used set of metrics designed to measure properties in object- oriented software. The CK Metrics set includes six indicators, each of which provides representation into different aspects of software development and implementation. The object-oriented Java programming language still remains one of the main ones for creating both server-side software and native mobile applications for Android OS and desktop applications for stationary PCs. This paper provides an analysis of tools that can be used to obtain numerical values of metrics from the CK Metrics set from software projects written using the Java programming language. A description and a brief assessment of the usability of the following tools are provided: ck, ckjm, ckjm-extended, CodeMR,, Metrics Reloaded, Metrics Tree.The tools are mainly presented, which are distributed open source, with the exception of CodeMR, which has a limited free and paid full-featured version. The tools presented in the analysis can be divided into two groups in terms of user interaction: via the command line interface and as plugins for the IntelliJ integrated development environment, which can be de facto called the standard for developing software implemented in Java. Tools for interaction via the graphical user interface are not presented in this analysis.The results of the analysis will help to make the right choice of a tool for obtaining numerical values of metrics from the CK Metrics set, based on the specific requirements of the developer or researcher and achieve the desired result with less time spent on independently studying the capabilities of the corresponding tool.
References
ISO, ISO/IEC TR 9126-2: Software Engineering – Product Quality – Part 2: External Metrics. Geneva, Switzerland: International Organization for Standardization, 2003.
ISO, ISO/IEC TR 9126-3: Software Engineering – Product Quality – Part 3: Internal Metrics. Geneva, Switzerland: International Organization for Standardization, 2003.
J.D. van Leusen. Tool support for software metrics calculation of Java projects. 2014. URL: https://fse.studenttheses. ub.rug.nl/11928/1/INF-BA-2014-J.D.van.Leusen.pdf (дата звернення: 20.05.2025).
Sandeep Kaur, Navjot Kaur. Software Metrics and Metric Tools – A Review. International Journal on Recent and Innovation Trends in Computing and Communication. Vol. 3, Issue: 4. 2015. URL: https://www.academia.edu/28255167/Software_Metrics_and_Metric_Tools_A_Review (дата звернення: 20.05.2025).
Kayarvizhy N. Systematic Review of Object Oriented Metric Tools. International Journal of Computer Applications. 135, no. 2 (2016): PP. 8–13. URL: https://www.ijcaonline.org/research/volume135/number2/n-2016-ijca-908269.pdf (дата звернення: 20.05.2025).
Shyam R. Chidamber, Chris F. Kemerer. Object-Oriented Metrics Suite. 2021. URL: https://www.aivosto.com/project/help/pm-oo-ck.html (дата звернення: 23.06.2023).
Shyam R. Chidamber, Chris F. Kemerer. A metrics suite for object oriented design. 1993. URL: https://www.eso.org/~tcsmgr/oowg-forum/TechMeetings/Articles/OOMetrics.pdf (дата звернення: 25.06.2023).
Chidamber S. R., Kemerer C. F. Towards a Metrics Suite for Object Oriented Design. Conference Proceedings on Object-Oriented Programming Systems, Languages, and Applications. Phoenix Arizona USA: ACM. PP. 197–211. 1991. URL: https://doi.org/10.1145/117954.117970. (дата звернення: 19.07.2024).
Chidamber and Kemerer object-oriented metrics suite. URL: https://www.aivosto.com/project/help/pm-oo-ck.html (дата звернення: 23.06.2023).
TIOBE Index for May 2025. The TIOBE Programming Community index is an indicator of the popularity of programming languages. 2025. URL: https://www.tiobe.com/tiobe-index/ (дата звернення: 24.05.2025).
Maurício Aniche. Ck – Code metrics for Java code by means of static analysis. 2024. URL: https://github.com/mauricioaniche/ck (дата звернення: 01.07.2023).
Spinellis, D. Ckjm – A Tool for Calculating Chidamber and Kemerer Java Metrics. IEEE Software. URL: https://www.spinellis.gr/sw/ckjm/doc/indexw.html (дата звернення: 01.07.2023).
Marian Jureczko. CKJM extended – An extended version of Tool for Calculating Chidamber and Kemerer Java Metrics (and many other metrics). Home page. 2024. URL: https://gromit.iiar.pwr.wroc.pl/p_inf/ckjm (дата звернення: 11.06.2024).
Marian Jureczko. CKJM extended – An extended version of Tool for Calculating Chidamber and Kemerer Java Metrics (and many other metrics). Introduction. 2024. URL: https://gromit.iiar.pwr.wroc.pl/p_inf/ckjm/intro.html (дата звернення: 11.06.2024).
Marian Jureczko. CKJM extended – An extended version of Tool for Calculating Chidamber and Kemerer Java Metrics (and many other metrics). 2024. URL: https://github.com/mjureczko/CKJM-extended (дата звернення: 11.06.2024).
CodeMR is a software quality and static code analysis tool for Java, Kotlin and Scala projects. JetBrains Marketplace. 2025. URL: https://plugins.jetbrains.com/plugin/10811-codemr (дата звернення: 23.05.2025).
CodeMR Static Code Analyser. Eclipse Marketplace. 2025. URL: https://marketplace.eclipse.org/content/codemr-static-code-analyser (дата звернення: 04.07.2024).
CodeMR – Measure, visualise and improve your code quality. Home page. 2025. URL: https://www.codemr.co.uk/ (дата звернення: 23.05.2025).
MetricsReloaded – Automated source code metrics plugin for IntelliJ IDEA. 2025. URL: https://github.com/BasLeijdekkers/MetricsReloaded (дата звернення: 23.05.2025).
MetricsReloaded – Automated Source Code Metrics for IntelliJ IDEA and IntelliJ Platform IDEs Plugin. 2025. URL: https://plugins.jetbrains.com/plugin/93-metricsreloaded (дата звернення: 23.05.2025).
Robert Cecil Martin. Agile Software Development: Principles, Patterns, and Practices. 2003. Prentice Hall PTR, USA.
MetricsTree is an IDE extension that helps to evaluate quantitative properties of Java code. GitHub repository. 2025. URL: https://github.com/b333vv/metricstree (дата звернення: 23.05.2025).
MetricsTree is an IDE extension that helps to evaluate quantitative properties of java code. JetBrains Marketplace. 2025. URL: https://plugins.jetbrains.com/plugin/13959-metricstree (дата звернення: 23.05.2025).







