Analyzing Class Stability Through C&K and Evolution Metrics: An Empirical Study

  • Mustafa Ghaleb*
  • , Mohamed Alasow
  • , Azzah AlGhamdi
  • , Mosab Hamdan
  • , Sajjad Mahmood
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

This study addresses the challenges introduced by the shift from procedural-oriented to object-oriented paradigms, focusing on the need to maintain consistent design while satisfying market demands, particularly in achieving software stability. While previous research has explored various factors affecting software stability, a gap remains in understanding the correlation between class stability and C&K and evolution-based metrics. To fill this gap, we conducted an empirical investigation using two open-source Java projects, Android and Eclipse, across three versions each. Our approach involved collecting C&K and evolution metrics using two different tools, calculating the stability metric for classes, and analyzing the data with SPSS to determine correlations. The results show a significant negative correlation between the class stability metric (CSM) and nine other metrics, confirming that C&K and evolution metrics are generally negatively correlated with CSM, although three C&K metrics exhibit weak correlations. These findings enhance our understanding of the relationship between various metrics and class stability, contributing to more stable and maintainable software systems.

Original languageEnglish
Title of host publicationComputational Science and Computational Intelligence - 11th International Conference, CSCI 2024, Proceedings
EditorsHamid R. Arabnia, Leonidas Deligiannidis, Farzan Shenavarmasouleh, Soheyla Amirian, Farid Ghareh Mohammadi
PublisherSpringer Science and Business Media Deutschland GmbH
Pages300-313
Number of pages14
ISBN (Print)9783031951268
DOIs
StatePublished - 2025
Event11th International Conference on Computational Science and Computational Intelligence, CSCI 2024 - Las Vegas, United States
Duration: 11 Dec 202413 Dec 2024

Publication series

NameCommunications in Computer and Information Science
Volume2505 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference11th International Conference on Computational Science and Computational Intelligence, CSCI 2024
Country/TerritoryUnited States
CityLas Vegas
Period11/12/2413/12/24

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.

Keywords

  • C&K metrics
  • Class Stability
  • Evolution metrics
  • Object Oriented Programming

ASJC Scopus subject areas

  • General Computer Science
  • General Mathematics

Fingerprint

Dive into the research topics of 'Analyzing Class Stability Through C&K and Evolution Metrics: An Empirical Study'. Together they form a unique fingerprint.

Cite this