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


GHALEB M. M. S., Alasow M., AlGhamdi A., Hamdan M., Mahmood S.

11th International Conference on Computational Science and Computational Intelligence-CSCI, Nevada, Amerika Birleşik Devletleri, 11 - 13 Aralık 2024, cilt.2505, ss.300-313, (Tam Metin Bildiri) identifier identifier

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Cilt numarası: 2505
  • Doi Numarası: 10.1007/978-3-031-95127-5_22
  • Basıldığı Şehir: Nevada
  • Basıldığı Ülke: Amerika Birleşik Devletleri
  • Sayfa Sayıları: ss.300-313
  • Kocaeli Üniversitesi Adresli: Hayır

Özet

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.