Not logged in.
Quick Search - Contribution
Contribution Details
Type | Conference or Workshop Paper |
Scope | Discipline-based scholarship |
Published in Proceedings | Yes |
Title | Do code and comments co-evolve? On the relation between source code and comment changes |
Organization Unit | |
Authors |
|
Presentation Type | paper |
Item Subtype | Original Work |
Refereed | Yes |
Status | Published in final form |
Language |
|
Page Range | 70 - 79 |
Event Title | Proceedings of the 14th Working Conference on Reverse Engineering |
Event Type | conference |
Event Location | Vancouver |
Event Start Date | October 28 - 2007 |
Event End Date | October 31 - 2007 |
Place of Publication | Vancouver, BC, Canada |
Publisher | IEEE Computer Society |
Abstract Text | 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. |
Digital Object Identifier | 10.1109/WCRE.2007.21 |
Other Identification Number | merlin-id:2530 |
PDF File | Download from ZORA |
Export |
BibTeX
EP3 XML (ZORA) |