I’m in the process of porting an ASP.NET project over to RoR and I’d
like to create some basic metrics with which to demonstrate to managers
how RoR is easier to maintain than an equivalent ASP.NET app.
So, I was thinking of counting lines of code (separated by models,
views, controllers) and outputting to a text file. Has anyone already
done this, and if so, would you be willing to share your script?
Are there any other metrics you’ve used when pitching your prototypes to
managers? I’m thinking of more than simply tracking time spent
developing. Performance benchmarks aren’t as helpful to me because my
prototype is running on Webrick.
So, I was thinking of counting lines of code (separated by models,
views, controllers)
Sorry if this is obvious for you, but have you tried ‘rake stats’?
Well, now I feel like a dork. That’s exactly what I was looking for. My
experience with rake is limited to uploading fixtures, so I had no idea
to even look there. Thanks!
I heart rails.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.