Mıshra, AlokMishra, DeeptiMishra, AlokMıshra, DeeptiSoftware EngineeringComputer Engineering2024-07-052024-07-05201150169-29681875-868110.3233/FI-2011-5562-s2.0-84856436303https://doi.org/10.3233/FI-2011-556https://hdl.handle.net/20.500.14411/1571Mishra, Alok/0000-0003-1275-2050; Mishra, Deepti/0000-0001-5144-3811It is important to identify modules that are fault prone or exhibit evidence of high cognitive complexity as these modules require corrective actions such as increased source code inspection, refactoring or performing more exhaustive testing. This can lead to a better quality software system. It has been found that inheritance has an impact on the cognitive complexity of a software system. In this paper, two inheritance metrics based on cognitive complexity, one at class level CCI (Class Complexity due to Inheritance) and another at program level ACI (Average Complexity of a program due to Inheritance), have been proposed for object-oriented software systems. Additionally, one more metric MC (Method Complexity) has been proposed to calculate the complexity of a method. These proposed metrics are compared with some well known object-oriented inheritance metrics by calculating their values for three random C++ programs. It has been observed that CCI and ACT are better to represent cognitive complexity due to inheritance than other well known class level and program level inheritance metrics.eninfo:eu-repo/semantics/closedAccesscognitive complexitysoftware metricsobject-oriented systemsObject-Oriented Inheritance Metrics in the Context of Cognitive ComplexityArticleQ4111191117WOS:000297871800008