Plugin Information
Ruby metric reports for Hudson. Rcov, Rails stats, Rails notes and Flog. Rcov supportRcov plugin parses rcov html report files and shows it on hudson with a trend graph. Once we've installed the rubyMetrics plugin, we have to introduce the output report directory into the job configuration:
Rails stats supportOnce the plugin is installed we can publish rails stats reports checking the right option:
Hudson generates a report by each successful build and keeps an historic version while the project goes forward:
Rails notes supportFlog supportFlog measures code complexity. It shows you the most torturous code you wrote. Check the right option in your job's configuration and add the directories that you want to monitorize, i.e app/models
Chagelog1.4 (05-01-2010)
1.3 (30-10-2009)
1.2.3 (04-05-2009)
1.2.2 (24-09-2008)
1.2 (18-09-2008)
1.1 (12-09-2008)
Todo
|






Comments (6)
May 05, 2009
Karl Baum says:
Getting the following exception when I try to install: java.io.IOException: Dep...Getting the following exception when I try to install:
java.io.IOException: Dependency rake (1.5) doesn't exist
at hudson.ClassicPluginStrategy.loadPluginDependencies(ClassicPluginStrategy.java:318)
at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:183)
at hudson.PluginManager.<init>(PluginManager.java:154)
at hudson.model.Hudson.<init>(Hudson.java:541)
at hudson.WebAppMain$2.run(WebAppMain.java:191)
Hudson: 1.303
Ruby: 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.6.0]
Java: 1.5.0_16
RubyMetrics: 1.2.3
Anyone run into this one before?
thx.
Jan 18, 2010
Erika Brice says:
I believe you need to install the Hudson Rake plugin . I experienced a sim...I believe you need to install the Hudson Rake plugin . I experienced a similar error on Windows after installing v1.4 of RubyMetrics; and installing v1.6.2 of the Rake plugin resolved the issue. Hope this helps.
Aug 27, 2010
chris moscardini says:
These are great. Thanks for the hard work. And of course I have a feature reques...These are great. Thanks for the hard work. And of course I have a feature request. It would be great if the flog plugin was configurable so that you could display/graph just the method complexities. Its hard to weed though the numbers since a single class with 100 methods could have the same score as a single class with one really complicated method.
Oct 06, 2010
Kevin Wolf says:
Ruby metrics doesn't appear to be displaying rcov, rails stats or annotations ch...Ruby metrics doesn't appear to be displaying rcov, rails stats or annotations charted on 'unstable' builds. For example if our defined coverage requirements aren't met, none of the charts are updated. It also doesn't appear to update the actual coverage report (coverage/index.html). Is this a known issue? I didn't see anything open in JIRA.
Thanks,
Kevin.
Feb 17, 2011
Andre Silva says:
Tried this plugin, but none of the metrics worked out of the box. After some wor...Tried this plugin, but none of the metrics worked out of the box.
After some work, I managed to get rcov to generate graphics, but nothing else..
I get:
[workspace] $ flog --help
Seems flog is not installed. Ensure flog is in your PATH
Publishing rails stats report...
Publishing rails notes report...
I actually have flog installed, and it's in the path: %JRUBY_HOME%/bin is in th path and "$flog" works
Although it says that it is publishing stats and notes reports, I can't find them anywhere, and they're not being presented in the hudson project page.
I'm using Hudson ver. 1.395. Am I missing something here?
Apr 19, 2011
Andre Silva says:
I managed to get it working... on linux. Apparently it doesn't work on windows. ...I managed to get it working... on linux. Apparently it doesn't work on windows.
Even though, It (stats and tasks) doesn't work if the code is being downloaded from a svn server. I just have to disable the svn project configuration and use the previous downloaded source in the workspace for the plugin to work.. Is this a bug?