#166 Metric Fu
Metric Fu is a compilation of several tools to help find areas of code that could be improved. In this episode I show you how to setup this tool on the railscasts.com source code.
- Download:
- mp4Full Size H.264 Video (18.5 MB)
- m4vSmaller H.264 Video (11.2 MB)
- webmFull Size VP8 Video (27.8 MB)
- ogvFull Size Theora Video (26 MB)
I'll be doing metric_fu.
Nice subject, but this screencast is really to short !!!
Don't hesitate to give us more details on each of these tools.
Hi gUI. In defense of Ryan, if you want a more detailed screencast, pls feel free to start your own.
ryan's given us 166 great screencasts. if it weren't for these, my RoR understanding wouldn't be what it is.
it's good that they're short because it makes you explore the API more on your own time, not Ryan's time.
There is a neat fork done by a ThoughtBot guy at http://github.com/qrush/metric_fu/tree/master that gives the metric browsing site some nicer styles to match the Integrity CI server styles.
@gUI, I wish I could have had time to go into more detail but I had to do this episode at the last minute. My scheduled episode covered a new feature in 2.3.3 which I expected to be released by now, but it has been delayed.
@Erik, thanks for the link. I'll add it to the show notes.
When shall we expect to see some new mastering-rails-forms screencasts?
Thank you,
Jason
Every cast is really fantastic, thanks Ryan, i'm going to learn more about this. I don't knew nothing about Metric Fu. I like simple things.
Ryan, you made a comment in the podcast about not liking the look of the output from RCov. I agree, to the point that a month or so ago I created a fork that generates better-formatted output, sortable columns, and even lets you use your own external CSS style sheet.
More information is at http://www.idolhands.com/ruby-on-rails/making-rcov-pretty-with-custom-css/ and the project itself can be downloaded from http://github.com/Bantik/rcov
Just for the record, 'Saikuro' would be pronounce roughly like 'sigh-crow', which is a Japanese approximation to 'cyclo.'
@Jake -- Marty Andrews and I made a spike of crap4r at http://github.com/kevinrutherford/crap4r/tree. Nothing wonderful yet, mostly due to lack of time and the difficulty of digging information out of rcov.
if it weren't for these, my RoR understanding wouldn't be what it is.
Good..
Hey Ryan, I failed to install metric_fu ,since I am using windows system it is giving me problem for nmake (it is a shell command windows not able to recognize it), The same problem occurred to me when installing relevance-rcov for cucumber.
Переведите на русский!
Thenks for information
Thanks for information :)
It was a very nice idea! Just wanna say thank you for the information you have shared.
Saikuro would be pronounce roughly like sigh-crow which is a Japanese approximation to cyclo
It's now just "gem install metric_fu" rather than jscruggs-metric_fu since the advent of gemcutter.
I got caught out by this, and spent ages trying to get reek working…
(A shame the comments aren't mirrored on the ASCIIcasts, since anybody working from those — like I was — won't see this :)
I am not really impressed by kurtlar vadisi pusu. Sevilen dizi izle kvp son bolum hemen izle.
Thank you,I think it's very useful.
I'm the new maintainer of metric_fu and it should work now on ruby 1.9 without any problems. See configuration instructions at https://github.com/metricfu/metric_fu which include how you can have metric_fu load external coverage output (e.g. using simplecov)
Rcov on ruby 1.9 segfaults and fails a lot, so running it is disabled by default and the gem is no longer included as a dependency. However, you may still config it to run or load coverage stats you've already generated
Also, it works from the command-line now. Now need to bundle it or run rake or metrical