A new cognitive metric named “Propose Object-Oriented Cognitive Complexity” (POOCC) is proposed to measure the complexity of Object-Oriented (OO) programs. The proposed metric is based on some fundamental factors like: number of operands, operators available in a method of an OO class, cognitive weight of different basic control structures and ratio of accessing similar parameters of an OO class. Evaluation of propose cognitive metric is done with the help of 16 C++ programs and Weyuker’s property is used to validate it, seven out of nine properties are satisfied by the proposed metric. Furthermore, this work is also present the relationship between POOCC and Lines of Code (LOC) to examine the density of the code.
CITATION STYLE
Jakhar, A. K., & Rajnish, K. (2016). Measure of complexity for Object-Oriented programs: A cognitive approach. In Smart Innovation, Systems and Technologies (Vol. 44, pp. 397–406). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-81-322-2529-4_42
Mendeley helps you to discover research relevant for your work.