Companion objects throw off code coverage numbers

I was surprised and delighted to see that IntelliJ code coverage works at all with Scala. I have, however, noticed that companion objects throw off some of the accounting. In the included screenshot you will see 153% of lines covered. That seems…high. I believe this is because the RoutingFilter class and companion object are being double counted.



Attachment(s):
Screen shot 2011-08-30 at 11.25.32 PM.png
1 comment
Comment actions Permalink

Hi Ryan:

Thank you for pointing out this issue.

I have posted it to YouTrack as http://youtrack.jetbrains.net/issue/SCL-3604

Cheers,
Alain

0

Please sign in to leave a comment.