Analyses of software cognitive complexity supported by an automated parsing tool

dc.contributor.advisorWang, Yingxu
dc.contributor.authorChiew, Vincent N. S.
dc.date.accessioned2017-12-18T22:35:40Z
dc.date.available2017-12-18T22:35:40Z
dc.date.issued2012
dc.descriptionBibliography: p. 156-180en
dc.descriptionA few pages are in colour.en
dc.description.abstractThe cognitive complexity of software is a new approach to the functional and semantic complexity of programs, which is a product of the operational complexity and architectural complexity of software. Software cognitive complexity is an emerging measure for the functional complexity of programs complementing the Line of Code (LOC) and Cyclomatic measures. LOC is a linear size measure that is commonly used by industry as a gauge of software complexity [Chelf & Chou 2008]. It assumes that the larger the software system in LOC, the more complex it is [Jay et al. 2009]. However, theoretical and empirical studies indicate that the actual functional complexity of software is not simply proportional to its LOC. Therefore, cognitive complexity is introduced to reveal programs with identical or similar LOC that may have significant variants in their complexities. To enable the study on cognitive complexity and its automatic calculation, a software tool is developed to parse and measure software cognitive complexity of a set of programs from real-world samples. The data and analysis results demonstrate a variety of attributes of software complexities from the facets of symbolic, cyclomatic, functional and cognitive complexities. The design and implementation of a tool, which provides an efficient analyzer not only for cognitive complexity measurement for practitioners and researches, but also for comparative measurements with classic software complexities of LOC and Cyclomatic features. Essentially, a single tool incorporating known classical complexity measures plus the new form of cognitive complexity measures to ease the process of measuring software complexity by eliminating the need for multiple tools while aggregating the results after analyzing in an automatic batch process. Since this specific form of cognitive complexity measurement is new, a measurement tool is not readily available in the software industry and must be developed for use as part of this software engineering research. Finally, through exploratory case studies and investigations, this thesis has characterized practical low values of software cognitive complexity measure, revealed that Wang's original theoretical experimental results and characterizations are applicable to real world software, and shown the potential use of this measure for some phases of software product life such as in capital phase, and operation and maintenance phases.
dc.format.extent200 leaves : ill. ; 30 cm.en
dc.identifier.citationChiew, V. N. (2012). Analyses of software cognitive complexity supported by an automated parsing tool (Doctoral thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca. doi:10.11575/PRISM/4962en_US
dc.identifier.doihttp://dx.doi.org/10.11575/PRISM/4962
dc.identifier.urihttp://hdl.handle.net/1880/105963
dc.language.isoeng
dc.publisher.institutionUniversity of Calgaryen
dc.publisher.placeCalgaryen
dc.rightsUniversity of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission.
dc.titleAnalyses of software cognitive complexity supported by an automated parsing tool
dc.typedoctoral thesis
thesis.degree.disciplineElectrical and Computer Engineering
thesis.degree.grantorUniversity of Calgary
thesis.degree.nameDoctor of Philosophy (PhD)
ucalgary.item.requestcopytrue
ucalgary.thesis.accessionTheses Collection 58.002:Box 2104 627942974
ucalgary.thesis.notesUARCen
ucalgary.thesis.uarcreleaseyen
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
thesis_Chiew_2012.pdf
Size:
81.7 MB
Format:
Adobe Portable Document Format
Description:
Thesis
Collections