Download now Free registration required
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, the authors 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.
- Format: PDF
- Size: 249.33 KB