Questions tagged [metrical]
6 questions
1
vote
0 answers
Metrical metric_fu ruby1.9.2 Rails3.0 undefined method `length' for nil:NilClass
I am trying to run metric_fu with my rails 3.0 application.
I have checked metrical gem to avoid dependencies problems and make it easier to setup metric_fu.
I could let it work but only having one…

Mahmoud Khaled
- 6,226
- 6
- 37
- 42
1
vote
2 answers
Error while running Metrical
I've a Ruby 1.9.2 and Rails 3.0.9 development environment. When I run the gem "metrical" on my application, I get the following errors:
** Running the specs/tests in the [test] environment
Analyzing: 100%…

Sal Arora
- 21
- 5
1
vote
0 answers
Warnings with RCov and Saikuro while installing Metrical
Having hard time installing some gems needed to get Metrical up and running.
WARNING: Saikuro-1.1.0 has an invalid nil value for @cert_chain
WARNING: rcov-0.9.9 has an invalid nil value for @cert_chain
Quick Googling points to a bug in gem 1.7.1,…

GregC
- 7,737
- 2
- 53
- 67
1
vote
1 answer
Ruby churn requires churn (>= 0) on installation
I am trying to install metrical and it fails with
gem install metrical
ERROR: Error installing metrical:
churn requires churn (>= 0)
Trying the following also gives errors.
gem install churn
ERROR: Error installing churn:
churn requires…

kmitov
- 1,243
- 3
- 11
- 25
0
votes
1 answer
Running Metrical with 1.9 Hash Syntax
I want to use Metrical with my brand-new Rails project using Ruby 1.9 hash syntax doing things like
before_filter :guest_user, only: [:new, :create]
before_filter :correct_user, only: :destroy
and I get this…

bento
- 2,079
- 1
- 16
- 13
-1
votes
1 answer
metrical hang when run through Jenkins
I specified to Metrical that we need to run rcov, roody, reek, stat, flog, flay.
It looks like after running all the metrics, it gets stuck while generating reports. When I abort metrical pressing Ctrl+C, it prints out following…

Antony
- 1,608
- 1
- 20
- 27