Object-Oriented Inheritance Metrics in the Context of Cognitive Complexity

Loading...
Publication Logo

Date

2011

Journal Title

Journal ISSN

Volume Title

Publisher

Ios Press

Open Access Color

Green Open Access

No

OpenAIRE Downloads

OpenAIRE Views

Publicly Funded

No
Impulse
Average
Influence
Average
Popularity
Average

Research Projects

Journal Issue

Abstract

It 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.

Description

Mishra, Alok/0000-0003-1275-2050; Mishra, Deepti/0000-0001-5144-3811

Keywords

cognitive complexity, software metrics, object-oriented systems

Fields of Science

0202 electrical engineering, electronic engineering, information engineering, 02 engineering and technology

Citation

WoS Q

Q4

Scopus Q

OpenCitations Logo
OpenCitations Citation Count
4

Source

Fundamenta Informaticae

Volume

111

Issue

1

Start Page

91

End Page

117

Collections

PlumX Metrics
Citations

CrossRef : 4

Scopus : 5

Captures

Mendeley Readers : 16

Google Scholar Logo
Google Scholar™
OpenAlex Logo
OpenAlex FWCI
0.0

Sustainable Development Goals

SDG data is not available