Registrer deg | Logg på | FAQ      [?] 
CiteULike is a free online bibliography manager. Register and you can start organising your references online.
Recent | Unread | Search | Authors | Tags | Export

Do Code and Comments Co-Evolve? On the Relation between Source Code and Comment Changes

by: Beat Fluri, Michael Wursch, Harald C Gall
Reverse Engineering, 2007. WCRE 2007. 14th Working Conference on (2007), pp. 70-79.


View FullText article


X Reviews [Write a review of this article]

There are no reviews of this article

X Find related articles from these CiteULike users

X Find related articles with these CiteULike tags

X Abstract

Comments are valuable especially for program under- standing 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 soft- ware system. In this paper, we describe an approach to map code and comments to observe their co-evolution over mul- tiple 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 find- ings show that: 1) newly added code--despite its growth rate--barely gets commented; 2) class and method decla- rations are commented most frequently but far less, for ex- ample, method calls; and 3) that 97% of comment changes are done in the same revision as the associated source code change.


X BibTeX record

X RIS record



RIS BibTeX
CiteULike organises scholarly (or academic) papers or literature and provides bibliographic (which means it makes bibliographies) for universities and higher education establishments. It helps undergraduates and postgraduates. People studying for PhDs or in postdoctoral (postdoc) positions. The service is similar in scope to EndNote or RefWorks or any other reference manager like BibTeX, but it is a social bookmarking service for scientists and humanities researchers.