Any tools to get code churn metrics for a Subversion repository? [closed]

故事扮演 提交于 2019-11-30 05:48:23

If you are willing to go the commercial route check out FishEye from Atlassian (also see their demo site ). FishEye also supports adding plugins (though this does not appear to be very well supported at this time).

I have written a tool called 'svnplot' (which I admit was inspired by the output of StatSVN). Its written in python and available on Google code. http://code.google.com/p/svnplot. You can see the sample output at http://thinkingcraftsman.in/projects/svnplot/index.htm

The details/output are not as elaborate as 'fisheye'. Basically it converts the Subversion log history into a 'sqlite' database and then queries sqlite database to generate graphs. You can write your own queries using the created sqlite database.

See if it works for you.

See svn-churn, a simple Python script to determine file churn and fix count of a Subversion repository.

The only one i've ever heard of and used is statsvn, searching google doesnt return many results.

You can probably use svn blame to get the date each line was changed and then use sed to pull out only the year and month and then use sort and uniq -c to generate a useful report.

The Power Software tool, KEPM, is pretty focused on CHURN these days. JP

Mark Kofman

try programeter which analyses Subversion and many other dev. tools.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!