Faculty of Computing

Permanent URI for this communityhttps://rda.sliit.lk/handle/123456789/4202

Browse

Search Results

Now showing 1 - 2 of 2
  • Thumbnail Image
    PublicationEmbargo
    Application of the Refactoring to the Understandability and the Cognitive Complexity of a Software
    (IEEE, 2022-07-18) Wijendra, D. R; Hewagamage, K. P
    Cognitive complexity of a software determines the methodology of comprehending the internal logic of a given software by an individual, quantitatively. The procedure of handling a software by different users is different, which results the cognitive complexity as a subjective measurement. The quantification of the cognitive complexity is still not standardized due to the varied number of factors affected for the cognitive complexity determination and its nature of the subjectivity. This paper evaluates the relationship between the cognitive complexity and understandability as one of the qualitative factors to determine the cognitive complexity and the usage of refactoring techniques to reduce the cognitive complexity without refraining its calculation process with respective to the internal logic of the software as in other standard software complexity metrics perform.
  • Thumbnail Image
    PublicationEmbargo
    Cognitive Complexity Reduction through Control Flow Graph Generation
    (IEEE, 2022-07-18) Wijendra, D. R; Hewagamage, K. P.
    The cognitive complexity of a software determines the human comprehension effort to determine its underlying logic. The human comprehension effort preliminary depends on the person, who deals with the software, the source code and the problem to be addressed. The understandability of a given source code is varying with each user such that the cognitive complexity results with a subjective measurement. The graphical representation of the logical behavior of a source code implies the individual to comprehend the logic easily rather than referring to its original code base. This paper evaluates the possibility of using control flow graph representation to reduce the cognitive complexity of a given source code, thereby ensuring a less software complexity.