Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heat Map for Code Repository Check-ins

Is there a good tool for looking through a code repository and finding the places that have the most changes per checkin?

It may be useful for finding bugs, or places to refactor code.

Currently I use SVN, but any other solutions would be considered. Thanks!

like image 372
Andest01 Avatar asked Feb 16 '12 16:02

Andest01


1 Answers

I think StatSVN will meet your needs.

A top-level list of the features:

Timeline for the lines of code
Lines of code for each developer
Activity by Clock time
Authors Activity
Author activity per Module
Author Most Recent Commits with links to ViewVc
Stats per directory
File count
Average file size
Largest files
Files with most revisions
Directory Sizes
Repository Tags Number of LOC per version.
Repository tree with file count and lines of code
LOC and Churn the evolution of LOC and the amount of change per day
Repo Map the dynamic hierarchical view of your repo for the last 30 days

Specifically, there is LOC graphed versus churn:
http://statsvn.org/statsvn/churn.html

And there is a "heat map" which allows you to drill down into the places in the code most often changed, which I believe was your #1 request:
http://statsvn.org/statsvn/repomap.html

The samples I've linked to aren't the greatest, but we've used the tool and it is extremely elegant and powerful.

like image 147
William Leara Avatar answered Oct 13 '22 22:10

William Leara