DocumentCode
3091180
Title
Applicability of three complexity metrics
Author
De Silva, D.I. ; Kodagoda, Neesha ; Perera, H.
Author_Institution
Dept. of Inf. Technol., Sri Lanka Inst. of Inf. Technol., Malabe, Sri Lanka
fYear
2012
fDate
12-15 Dec. 2012
Firstpage
82
Lastpage
88
Abstract
Over the years a number of complexity metrics have been proposed. However, there have been only a few studies conducted to compare those proposed metrics in terms of their practical applicability. The few researches that have been conducted to assess the applicability of a complexity metric have also used the five properties proposed by Briand et al. However determining whether a complexity measure satisfies some theoretical complexity properties is not a reliable method of determining the practical applicability of it. Thus, the main intent of this study was to compare three proposed code complexity metrics: McCabe´s cyclomatic complexity, Halstead´s software science and Shao and Wangs´ cognitive functional size and identify which metric is the most suitable metric that can be used in the current state of the art with the help of thirty programmers. To conduct this empirical study ten freely available java programs were used as the base. From this study it was identified that Shao and Wangs´ cognitive functional size is the best complexity metric that can be used in the real world.
Keywords
computational complexity; software metrics; Halstead software science; Java programs; McCabe cyclomatic complexity; code complexity metrics; cognitive functional size; complexity measure; practical applicability; theoretical complexity properties; Complexity theory; Industries; Java; Measurement; Reliability theory; Halstead´s Metrics; McCabe´s Cyclomatic Complexity; Shao and Wangs´ Cognitive Functional Size; Software Complexity;
fLanguage
English
Publisher
ieee
Conference_Titel
Advances in ICT for Emerging Regions (ICTer), 2012 International Conference on
Conference_Location
Colombo
Print_ISBN
978-1-4673-5529-2
Type
conf
DOI
10.1109/ICTer.2012.6421409
Filename
6421409
Link To Document