Development of an Improved Cognitive Complexity Metrics for Object- Oriented Codes

O. Isola Esther *

Ladoke Akintola University of Technology, Ogbomoso, Oyo State, Nigeria and Osun State University, Osogbo, Osun State, Nigeria

O. Olabiyisi Stephen

Ladoke Akintola University of Technology, Ogbomoso, Oyo State, Nigeria and Osun State University, Osogbo, Osun State, Nigeria

O. Omidiora Elijah

Ladoke Akintola University of Technology, Ogbomoso, Oyo State, Nigeria and Osun State University, Osogbo, Osun State, Nigeria

A. Ganiyu Rafiu

Ladoke Akintola University of Technology, Ogbomoso, Oyo State, Nigeria and Osun State University, Osogbo, Osun State, Nigeria

T. Ogunbiyi Dimple

Ladoke Akintola University of Technology, Ogbomoso, Oyo State, Nigeria and Osun State University, Osogbo, Osun State, Nigeria

Y. Adebayo Olajide

Ladoke Akintola University of Technology, Ogbomoso, Oyo State, Nigeria and Osun State University, Osogbo, Osun State, Nigeria

*Author to whom correspondence should be addressed.


Abstract

Cognitive informatics helps in comprehending the software characteristics and its complexity measures can be used to predict critical information about testability of software system. In this paper, a cognitive complexity metric for C++ programming language is formulated. Since C++ is an object – oriented language, the cognitive complexity metric is capable to evaluate any object- oriented language. This paper presents a new cognitive complexity metric named Improved Cognitive Complexity Metric (ICCM) and perform a comparative study of the proposed metric with the existing metric such as NCCOP, CFS, CICM and CPCM. The result shows that the proposed metric performs better than other metrics by giving more information contained in the software and reflecting the understandability of a source code. Also, an attempt has also been made to present the relationship among ICCM, NCCOP, CICM, CFS and CPCM using Pearson correlation coefficient method.

Keywords: Software complexity, cognitive informatics, basic control structure, object-oriented language


How to Cite

Esther, O. Isola, O. Olabiyisi Stephen, O. Omidiora Elijah, A. Ganiyu Rafiu, T. Ogunbiyi Dimple, and Y. Adebayo Olajide. 2016. “Development of an Improved Cognitive Complexity Metrics for Object- Oriented Codes”. Journal of Advances in Mathematics and Computer Science 18 (2):1-11. https://doi.org/10.9734/BJMCS/2016/28515.

Downloads

Download data is not yet available.