DocumentCode
2333324
Title
Source code comprehension strategies and metrics to predict comprehension effort in software maintenance and evolution tasks - an empirical study with industry practitioners
Author
Nishizono, Kazuki ; Morisaki, Shuji ; Vivanco, Rodrigo ; Matsumoto, Kenichi
Author_Institution
Grad. Sch., of Inf. Sci., Nara Inst. of Sci. & Technol., Ikoma, Japan
fYear
2011
fDate
25-30 Sept. 2011
Firstpage
473
Lastpage
481
Abstract
The goal of this research was to assess the consistency of source code comprehension strategies and comprehension effort estimation metrics, such as LOC, across different types of modification tasks in software maintenance and evolution. We conducted an empirical study with software development practitioners using source code from a small paint application written in Java, along with four semantics-preserving modification tasks (refactoring, defect correction) and four semantics-modifying modification tasks (enhancive and modification). Each task has a change specification and corresponding source code patch. The subjects were asked to comprehend the original source code and then judge whether each patch meets the corresponding change specification in the modification task. The subjects recorded the time to comprehend and described the comprehension strategies used and their reason for the patch judgments. The 24 subjects used similar comprehension strategies. The results show that the comprehension strategies and effort estimation metrics are not consistent across different types of modification tasks. The recorded descriptions indicate the subjects scanned through the original source code and the patches when trying to comprehend patches in the semantics-modifying tasks while the subjects only read the source code of the patches in semantics-preserving tasks. An important metric for estimating comprehension efforts of the semantics-modifying tasks is the Code Clone Subtracted from LOC(CCSLOC), while that of semantics-preserving tasks is the number of referred variables.
Keywords
software maintenance; software metrics; code clone subtracted from LOC; comprehension effort estimation metrics; defect correction; evolution task; refactoring; semantics-modifying modification task; semantics-preserving modification task; software development practitioner; software evolution; software maintenance; source code comprehension; source code patch; Analytical models; Measurement; comprehension effort estimation metrics; semantics-modifying; semantics-preserving; software maintenance and evolution; source code comprehension;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance (ICSM), 2011 27th IEEE International Conference on
Conference_Location
Williamsburg, VI
ISSN
1063-6773
Print_ISBN
978-1-4577-0663-9
Electronic_ISBN
1063-6773
Type
conf
DOI
10.1109/ICSM.2011.6080814
Filename
6080814
Link To Document