Skip to content
Open access

Empirical Evaluation of Maintenance Effort Prediction using Inheritance and Interface-Oriented Class Complexity Metrics

Jul 2026 · Indian Journal of Science and Technology · Vol 19, pp. 1873-1882 · 0 citations

TL;DR

The analysis demonstrates that cognitive complexity metrics can effectively predict software maintenance effort and introduces and validates two cognitive complexity metrics, CWICC and ICWCC, to predict software maintenance effort.

Abstract

Objectives: The primary objective of this research is to estimate maintenance effort using complexity metrics and to demonstrate that the two selected metrics, CWICC and ICWCC, provide more accurate maintenance effort predictions compared to existing software complexity metrics. This will be validated through the application of various statistical techniques. Method: Two cognitive complexity metrics—Cognitive Weighted Inheritance Class Complexity (CWICC) and Interface-based Cognitive Weighted Class Complexity (ICWCC) were identified and empirically analyzed. Statistical techniques, including simple and multiple regression analysis, were applied to a collected dataset. The results were further compared with existing object-oriented metrics. Findings: The analysis demonstrates that cognitive complexity metrics can effectively predict software maintenance effort. The results also highlight differences in performance when compared to traditional object-oriented metrics, providing insights into their relative effectiveness. Novelty: This study introduces and validates two cognitive complexity metrics, CWICC and ICWCC to predict software maintenance effort. The novelty of this research work lies in establishing that the proposed metrics enable more accurate prediction of maintenance effort through closer alignment between predicted and actual maintenance time; for instance, ICWCC (160.54) and CWICC (159.09) closely approximate the observed value (162.08), outperforming WCC (139.32) and AWCC (154.29), thereby confirming their effectiveness as reliable predictors of software maintenance effort. Keywords: Maintenance, Effort, Cognitive Complexity Metrics, Maintenance Time, Correlation, Regression

Read PDF

Similar papers

Preprint Sep 2026

Assessing the Construct Validity of Object-Oriented, Class-Level Code Quality Metrics

The results strongly support the construct validity of 24 code quality metrics and reveal Coupling and Inheritance are revealed as multidimensional constructs, since they require measuring two different concepts, revealed as sub-categories in the analysis.

Hera Arif, M. Kuutila, Paul Ralph · 0 citations
Conference Aug 2026

CWC: A Cognitive Weighted Complexity Metric for Object-Oriented Programming

Software complexity remains a major challenge in software engineering because it directly affects program comprehension, maintainability, reliability, and long-term evolution. Although established metrics such as Cyclomatic Complexity are widely used to measure decision-path complexity, they may assign similar scores t...

T. S. Ruberu · 0 citations
Review Open access 2026

Code Smell Severity in Predictive Modeling for Software Quality Risk and Maintenance Effort: A Systematic Literature Review

The findings show that design-level smells are more consistently associated with fault-proneness than method-level smells, and that severity-aware models generally outperform binary detection models.

Aamina Banu, T. Hettiarachchi, C. Wijesiriwardana · 0 citations
Conference Open access 2026

Assessing Software Metrics and Complexity in Student and Open-Source Projects Using Static Analysis

Maintaining code quality remains a significant challenge in both educational and professional software development. This paper presents the development and evaluation of static code analysis tools aimed at identifying structural issues, such as complexity, cohesion, and maintainability in C# projects. The analyzers wer...

Peter Csaszar, Máté Cserép · 0 citations
Review Sep 2026

An analysis of the relationship of input metrics

Input metrics evaluate the progress of testing in terms of features of inputs present in a test suite. Previous works, as early as the 1950s, established a number of such metrics, but few endeavored to compare them. This paper does so by utilizing existing methods proposed for other metric classes in partition testing...

Addison Crump · 0 citations
Review Open access Sep 2026

A Comparative Analysis of the Effectiveness and Efficiency of Manual and Automated Testing in Software Quality Assurance

Purpose: This study aims to analyze the effectiveness, bottlenecks, and reliability of automated testing and manual testing, as well as to compare the two approaches in detecting bugs and supporting software product quality. Accelerating release cycles can be counterproductive if functional stability is ignored; thus,...

Amara Seviany Agustin, N. W. A. Majid, Md Baharuddin Bin Abdul Rahman · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.