I’m using SVN with Google Code Project Hosting for a school project. As the codebase increases in size, I often find myself wondering questions like:
- “who originally checked in this line
of code?” - “who has been checking in
the most code recently?” - “Of the final product, how much of it was written by Person X?”
- “Which coder is best at adhering to the coding conventions?”
Is there any plugin available to do this? (If not, I would be interested in developing one myself. Any ideas on where to get started on that?)
We’re using Visual Studio 2008 with the AnkhSVN plugin.
Within Subversion itself, the command svn blame gives you author and revision information for each line of a file.
The external tool StatSVN is pretty good. It does most of what you want, including author stats. Adherence to code conventions is not covered. For that sort of thing you’re better off with something like Sonar.