[Paper Review] Software Cognitive Information Measure based on Relation Between Structures
This paper proposes the Scope Information Complexity Number (SICN), a novel cognitive complexity measure that integrates Granular Computing into software analysis by modeling variable scope and functional decomposition. It establishes a theoretical foundation using Weyuker's nine properties, demonstrating that SICN effectively quantifies human understanding difficulty through structured, cognition-inspired metrics grounded in variable scope and software architecture.
Cognitive complexity measures quantify human difficulty in understanding the source code based on cognitive informatics foundation. The discipline derives cognitive complexity on a basis of fundamental software factors i.e, inputs, outputs, and internal processing architecture. An approach to integrating Granular Computing into the new measure called Structured Cognitive Information Measure or SCIM. The proposed measure unifies and re-organizes complexity factors analogous to human cognitive process. However, according to the methodology of software and the scope of the variables, Information Complexity Number(ICN) of variables is depended on change of variable value and cognitive complexity is measured in several ways. In this paper, we 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.
Motivation & Objective
- To develop a cognitive complexity measure that reflects human understanding difficulty in source code.
- To integrate Granular Computing principles into software complexity modeling for improved cognitive alignment.
- To define a new metric, Scope Information Complexity Number (SICN), based on variable scope and functional decomposition.
- To validate the proposed measure using Weyuker's nine theoretical properties for formal robustness.
Proposed method
- The authors define the Scope Information Complexity Number (SICN) as a function of variable scope and structural decomposition in software.
- They model cognitive complexity through functional decomposition, treating code as granules of information.
- The method applies Granular Computing to reorganize traditional complexity factors (inputs, outputs, internal processing) into cognition-aligned units.
- Theoretical validation is performed using Weyuker's nine properties to ensure mathematical and cognitive consistency.
- The approach treats variable value changes as dynamic contributors to cognitive load, integrating them into the SICN calculation.
- The final measure is derived from structural relations and scope-aware variable handling, emulating human cognitive processing.
Experimental results
Research questions
- RQ1How can cognitive complexity in software be formally measured using variable scope and structural decomposition?
- RQ2To what extent does the SICN metric align with human cognitive processing in understanding code?
- RQ3Can the proposed measure satisfy Weyuker's nine theoretical properties for complexity metrics?
- RQ4How does the integration of Granular Computing improve the representation of cognitive complexity in software?
- RQ5What is the impact of variable value changes on cognitive complexity, and how is it captured in the SICN?
Key findings
- The proposed SICN metric satisfies all nine of Weyuker's theoretical properties, confirming its formal validity as a complexity measure.
- The integration of Granular Computing enables a more accurate representation of cognitive processes in software understanding.
- Variable scope and dynamic value changes are shown to significantly influence cognitive complexity, captured effectively by SICN.
- Functional decomposition enhances the granularity of complexity modeling, aligning better with human cognitive load perception.
- The measure provides a unified framework that reorganizes traditional complexity factors into cognition-inspired structural units.
- Theoretical validation confirms that SICN is robust, consistent, and suitable for practical application in software cognitive analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.