markbates / cover_me

An RCov-esque coverage tool for Ruby 1.9
http://www.metabates.com
MIT License
203 stars 18 forks source link

EmmaFormatter writes wrong values for aggregated values #29

Open leifbladt opened 13 years ago

leifbladt commented 13 years ago

The line coverage in percent isn't correct for aggregated values (packages and all classes), though the count of affected lines is.

``` ```
leifbladt commented 13 years ago

With a little research I found out, that the missing values are currently not inserted in the XML template, as these information seem not to exist right now.

I started to add the executed_percent to the GlobalReport class (leifbladt/cover_me@c6f9a7629841bab2f91d). Do you think, this is the right approach?