Linux Today: Linux News On Internet Time.

CVSSearch: A New Way to Search through Code

Feb 04, 2001, 12:12 (0 Talkback[s])

[ Thanks to Amir Michail for this link. ]

"CVSSearch searches for code fragments using CVS comments. Specifically, it takes advantage of the fact that a CVS comment describes the lines of code involved in the commit and that this description will typically hold for many future versions."

"In other words, CVSSearch allows you to better search the most recent version of the code by looking at previous versions to understand the current version."

"For each line of code, we build a profile consisting of all CVS comments that involved that line in past commits. This profile is used not only to search code but also to understand what the code does."

"Observe that CVS comments describe the purpose of code and --- unlike code comments --- provide motivation and history for why that code is the way it is."

Complete Story

Related Stories: