Next-Generation Metric for Software Complexity Analysis
H. A. N. N. Thathsarani · 2024
This research introduces the Holistic Cognitive Complexity (HCC) metric, an innovative object-oriented measurement method evolved from the traditional CB metric to offer a more comprehensive assessment of software complexity. By integrating additional complexity factors such as array usage and thread management, the HCC metric addresses both structural and cognitive complexities, providing a holistic view of modern software development. The practical utility of the HCC metric is demonstrated through a comparative analysis with the traditional CB metric, using a sample program to highlight the added intricacies captured by the HCC metric. The detailed complexity assessment facilitated by the HCC metric enables developers to identify potential problem areas early in the development process, guiding targeted refactoring and optimization efforts. This proactive identification of complexity hotspots is crucial for maintaining high standards of software quality and ensuring maintainability and scalability over time. Additionally, the HCC metric aids in better resource allocation and project planning by providing a more accurate measure of complexity, thus supporting effective project estimation and resource distribution. The significant contributions of the HCC metric include its ability to quantify the complexities introduced by advanced programming constructs like arrays and threads, offering deeper insights into software complexity than traditional metrics. This research underscores the importance of continuous enhancement of complexity metrics to address emerging challenges in software development. The HCC metric's robust framework and detailed assessment promise to elevate software quality, reliability, and maintainability, making it a valuable tool for software developers, analysts, and project managers.