DocumentCode :
2346463
Title :
Do Code and Comments Co-Evolve? On the Relation between Source Code and Comment Changes
Author :
Fluri, Beat ; Würsch, Michael ; Gall, Harald C.
Author_Institution :
Dept. of Inf., Zurich Univ., Zurich
fYear :
2007
fDate :
28-31 Oct. 2007
Firstpage :
70
Lastpage :
79
Abstract :
Comments are valuable especially for program understanding and maintenance, but do developers comment their code? To which extent do they add comments or adapt them when they evolve the code? We examine the question whether source code and associated comments are really changed together along the evolutionary history of a software system. In this paper, we describe an approach to map code and comments to observe their co-evolution over multiple versions. We investigated three open source systems (i.e., ArgoUML, Azureus, and JDT core) and describe how comments and code co-evolved over time. Some of our findings show that: 1) newly added code - despite its growth rate - barely gets commented; 2) class and method declarations are commented most frequently but far less, for example, method calls; and 3) that 97% of comment changes are done in the same revision as the associated source code change.
Keywords :
public domain software; reverse engineering; software maintenance; ArgoUML; Azureus; JDT Core; code evolution; comment change; open source systems; program maintenance; program understanding; software development; software system; source code change; Costs; Data mining; History; Informatics; Open source software; Reverse engineering; Software architecture; Software maintenance; Software systems; Taxonomy;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Reverse Engineering, 2007. WCRE 2007. 14th Working Conference on
Conference_Location :
Vancouver, BC
ISSN :
1095-1350
Print_ISBN :
978-0-7695-3034-5
Type :
conf
DOI :
10.1109/WCRE.2007.21
Filename :
4400153
Link To Document :
بازگشت