relevance/rcov

elsif line not covered, but it's block is executed and considered covered

Opened this issue · 7 comments

elsif line not covered, but its block is executed and considered covered

Running RCOV on:
jruby-1.6.0
rails 3.0.5

argh. They must not have pulled my patch into 1.6 like I thought they did. I will get on them.

Yep, it's still exists.

Running RCOV on:
jruby-1.6.1
rails 2.3.8
rcov (0.9.9 java)

Ughh... it's like 2 steps forward one back. Jruby 1.6 changed some other things ... I will try to find some time to look further into this.

yn commented

This problem still exists in Rails 3.1.3 Ruby 1.6.5 while running in 1.8.7 mode,

@hooligan495 is this something you can take a look at/fix?

Someone have a temporality solution for this ?

If you turn on the --debug option in your JRUBY_OPTS (i.e. export JRUBY_OPTS="--debug") it fixes this problem.