Software Cognitive Complexity Measure Based on Scope of Variables

Kwangmyong Rim,Yonghua Choe
DOI: https://doi.org/10.48550/arXiv.1409.4919
2014-09-17
Software Engineering
Abstract:In this paper, we define a Mathematical model of program structure. Mathematical model of program structure defined here provides unified mathematical treatment of program structure, which reveals that a program is a large and finite set of embedded binary relations between current statement and previous ones. Then, a program is considered as a composed listing and a logical combination of multiple statements according to the certain composing rules. We also define the Scope Information Complexity Number (SICN) and present the cognitive complexity based on functional decomposition of software, including theoretical validation through nine Weyuker's properties.
What problem does this paper attempt to address?