Skip to content
Research Article Open access CC BY 4.0

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

O. Isola Esther, O. Olabiyisi Stephen, O. Omidiora Elijah, A. Ganiyu Rafiu, T. Ogunbiyi Dimple, Y. Adebayo Olajide

Journal of Advances in Mathematics and Computer Science · pp. 1–11 · Published 20 Aug 2016

10.9734/BJMCS/2016/28515

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.

Software complexity cognitive informatics basic control structure object-oriented language

Cited by 5

The Correlation among Cognitive Complexity Metrics in Algorithm Analysis

E. Isola, C. Akanbi, I. Isola · UNIOSUN Journal of Engineering and Environmental Sciences · 2021

Underlying Mental Factors Contributing to Software Complexity

Leena Jain, Satinderjit Singh · International Journal of Engineering and Advanced Technology · 2020

An Exploratory Study of Cognitive Based Complexity Measures of Online Algorithms

O. Esther, O. O. Stephen, O. Elijah · Journal of Scientific Research and Reports · 2019

Software Cognitive Complexity Metrics for OO Design : A Survey

Syed Tanzeel Rabani, K. Maheswaran · 2017

Article metrics

Real usage data collected on this platform.

0

Page views

0

PDF downloads

0

Outbound clicks

5

Citations

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

No views recorded yet.

Traffic sources

Referring site, by host.

No traffic recorded yet.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.