DocumentCode :
596240
Title :
Preprocessing of Metrics Measurement Based on Simplifying Program Structures
Author :
Sasaki, Yutaka ; Ishihara, Takuya ; Hotta, Kazuhiro ; Hata, Hiroki ; Higo, Y. ; Igaki, Hiroshi ; Kusumoto, Shinji
Author_Institution :
Grad. Sch. of Inf. Sci. & Technol., Osaka Univ., Suita, Japan
Volume :
2
fYear :
2012
fDate :
4-7 Dec. 2012
Firstpage :
120
Lastpage :
127
Abstract :
In software maintenance, grasping characteristics of software systems by metrics measurement is a basic activity. However, metrics do not always represent characteristics of software systems. For example, Cyclomatic Complexity is a metric counting the number of branches in a given module, and it does not consider its content. One factor that Cyclomatic Complexity becomes large is the presence of repeated structures such as consecutive if-else structures. However, if such a structure is a repetition of simple operations, humans would not recognize a difficulty to understand the source code. In this paper, we propose performing preprocessing for metrics measurement and a methodology of the preprocessing. The proposed preprocessing simplifies repeated structures in source code. By applying the proposed preprocessing to metrics measurement, we can find low-understandability modules more efficiently. Also, we compared results of metrics measurement with and without the proposed preprocessing on open source software systems. As a result, we confirmed that metrics measurement with the proposed preprocessing was more useful to find low-understandability modules than without it.
Keywords :
public domain software; software maintenance; software metrics; cyclomatic complexity; metrics measurement; open source software systems; program structures; software maintenance; Complexity theory; FCC; Software maintenance; Software measurement; Software systems; Empirical Study; Metrics Measurement; Software Maintenance;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference (APSEC), 2012 19th Asia-Pacific
Conference_Location :
Hong Kong
ISSN :
1530-1362
Print_ISBN :
978-1-4673-4930-7
Type :
conf
DOI :
10.1109/APSEC.2012.59
Filename :
6462790
Link To Document :
بازگشت