Last year I used git and timecop in a script that ran metric fu over the histories of our team's projects so we could see the trends and better interpret the final metrics.
I'd say the two big rules of interpreting code quality metrics are: pay more attention to trends than absolute values, and use them as a starting point for further investigation. There will be false negatives. The retro metrics script worked pretty well, but in the process I found that metric fu had developed some rough edges since it was under active development. Code climate is great as a service, but it's a pity there isn't a similarly polished stack you can run yourself. It would be nice to see metric fu or another suite fill that gap again. Something else I found is that coverage and test suite results are the hardest things to track (especially retrospectively), because you have to actually get the code running properly. All the static analysis stuff is much easier to get working right. Cheers, Chris On Friday, July 5, 2013, Craig Read wrote: > I haven't used it myself but MetricFu also looks good for this sort of > thing: https://github.com/metricfu/metric_fu > > Railscast is here: http://railscasts.com/episodes/166-metric-fu > > Cheers, > > > On Fri, Jul 5, 2013 at 2:45 PM, Michael Webb > <[email protected]<javascript:_e({}, 'cvml', '[email protected]');> > > wrote: > >> Holy crapsteaks, that looks awesome. I doubt I'll be able to sell that at >> work (my team is in "use nothing that's not free" mode thanks to recent >> downsizing at the client), but I'll sure as hell be using it on projects as >> home. Thanks Jon. >> >> >> On Friday, July 5, 2013 1:52:20 PM UTC+10, Jon R wrote: >> >>> Hi Mike >>> >>> Take a look at Code Climate too, it's a web service that gives metrics >>> on your code quality, works pretty well for open source tools although I >>> confess I haven't used it on client projects. >>> >>> Cheers >>> >>> Jon Rowe >>> ----------------------------- >>> [email protected] >>> jonrowe.co.uk >>> >>> On Friday, 5 July 2013 at 13:20, Michael Webb wrote: >>> >>> Hey all, >>> >>> I'm fairly new to Ruby and Rails (~1 year), having built an internal >>> Rails app for a client, and I'm completely self-taught (from 12+ years C#, >>> ASP.NET background). In between sprints I usually get an opportunity to >>> poke around on the old Ruby toolbox and try out a few things. The flavour >>> of the month this month is Reek. >>> >>> I love Reek. It has forced me to - substantially - improve my code and >>> learn a lot of cool Ruby tricks I might not have otherwise chased down. >>> >>> I'm curious as to what the community's opinion of Reek is. More >>> specifically: >>> >>> - is it generally accepted as THE code smell detector for Ruby >>> developers? >>> - are the included smells generally accepted "as is" or are there >>> common variations? (I had to up the number of lines per method to 12, for >>> example, less simply wasn't possible in our app) >>> - what are the alternatives, and how do they compare to Reek? >>> >>> Interested to hear your thoughts. >>> >>> Cheers, >>> >>> Mike >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Ruby or Rails Oceania" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to rails-oceani...@**googlegroups.com. >>> To post to this group, send email to [email protected]**. >>> >>> Visit this group at >>> http://groups.google.com/**group/rails-oceania<http://groups.google.com/group/rails-oceania> >>> . >>> For more options, visit >>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>> . >>> >>> >>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby or Rails Oceania" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:_e({}, >> 'cvml', 'rails-oceania%[email protected]');>. >> To post to this group, send email to >> [email protected]<javascript:_e({}, 'cvml', >> '[email protected]');> >> . >> Visit this group at http://groups.google.com/group/rails-oceania. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > Craig Read > > @Catharz > https://github.com/Catharz > http://stackoverflow.com/users/158893/catharz > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:_e({}, > 'cvml', 'rails-oceania%[email protected]');>. > To post to this group, send email to > [email protected]<javascript:_e({}, 'cvml', > '[email protected]');> > . > Visit this group at http://groups.google.com/group/rails-oceania. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rails-oceania. For more options, visit https://groups.google.com/groups/opt_out.
