Code Search based on CVS Comments: A Preliminary Evaluation

Annie Chen,Yun Ki Lee,Andrew Y. Yao,Amir Michail
2001-01-01
Abstract:We have built a tool, CVSSearch (1), that searches for fragments of source code by using CVS com- ments. (CVS is a version control system that is widely used in the open source community (3).) Our search tool takes advantage of the fact that a CVS comment typically describes the lines of code in- volved in the commit and this description will typ- ically hold for many future versions. This paper pro- vides a preliminary evaluation of this technique by 74 students at the University of New South Wales. Among our findings, CVS comments do provide a valuable source of information for code search that complements — but does not replace — tools that simply search the source code itself (e.g., grep).
What problem does this paper attempt to address?