An inheritance complexity metric for object-oriented code: A cognitive approach
No Thumbnail Available
Date
2011
Journal Title
Journal ISSN
Volume Title
Publisher
Springer india
Open Access Color
OpenAIRE Downloads
OpenAIRE Views
Abstract
Software metrics should be used in order to improve the productivity and quality of software, because they provide critical information about reliability and maintainability of the system. In this paper, we propose a cognitive complexity metric for evaluating design of object-oriented (OO) code. The proposed metric is based on an important feature of the OO systems: Inheritance. It calculates the complexity at method level considering internal structure of methods, and also considers inheritance to calculate the complexity of class hierarchies. The proposed metric is validated both theoretically and empirically. For theoretical validation, principles of measurement theory are applied since the measurement theory has been proposed and extensively used in the literature as a means to evaluate the software engineering metrics. We applied our metric on a real project for empirical validation and compared it with Chidamber and Kemerer (CK) metrics suite. The theoretical, practical and empirical validations and the comparative study prove the robustness of the measure.
Description
Misra, Sanjay/0000-0002-3556-9331; Koyuncu, Murat/0000-0003-1958-5945; Koyuncu, Murat/0000-0003-1958-5945
Keywords
Software metrics, object-oriented programming, software complexity, cognitive weights, measurement theory, empirical validation
Turkish CoHE Thesis Center URL
Fields of Science
Citation
19
WoS Q
Q3
Scopus Q
Source
Volume
36
Issue
3
Start Page
317
End Page
337