tags:

views:

452

answers:

5

Hi All,

I have a google code project which I used SVN to update. I am about to submit the project as the deliverable for a thesis on producing resource intensive applications on a mobile platform.

I was wondering if any of you knew of software which I could point at my repository in order to get stats for say lines of code over time? Number of classes over time?

Something like that anyway.

It's an Android project and so uses *.java files mainly.

Kind regards,

Gavin

+1  A: 

ConQAT will produce some of that, and can then be hooked to a database for storage. ConQAT has the advantage of being free.

Also free for you, I believe, is TeamCity. It can produce some of what you want automatically and I just extended mine to add some custom graphs for source by file type. A simple batch file is building a teamcity-info.xml, which TeamCity will interpret for me. A couple of config changes later to main-settings.xml and project/plugin-settings.xml and I get graphs over time.

You could easily write a batch file to count lines per file, or count lines per file excluding comment-only lines.

EDIT: I don't know how I missed the "point at my repository" part of your question. For my answers to work you'd have to checkout each revision, run the stats, repeat. Sorry.

james
Really good info still, I guess I was just being lazy, I was hoping I could pass my SVN details to a third party app that would check read only stuff out and do what you have described.I can probably write something to do that based on your info, cheers. :)
gav
A: 

take a look on code swarm

here is demonstration based on python project repository activity

if you're interested, here are instructions on generating video

jonny
+2  A: 

Since your project is open source with a repository that's accessible, just add your project to Ohloh.

After you've added your project and repository url there, wait a few minutes (depending on how big your repository is) and you'll get nice graphs like these.

Stefan
+1  A: 

StatSVN Does at least some of what you want. I don't think it will do anything that requires understanding the source, but it will do line and file-based stats.

crmoore
+2  A: 
victor hugo