Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EmmaFormatter writes wrong values for aggregated values #29

Open
leifbladt opened this issue Feb 8, 2011 · 1 comment
Open

EmmaFormatter writes wrong values for aggregated values #29

leifbladt opened this issue Feb 8, 2011 · 1 comment

Comments

@leifbladt
Copy link
Contributor

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





<srcfile name="admin_controller.rb">
  <coverage type="class, %" value="0%   (0/0)"/>
  <coverage type="method, %" value="0%   (0/0)"/>
  <coverage type="block, %" value="0%   (0/0)"/>
  <coverage type="line, %" value="100%   (3/3)"/>
</srcfile></code>
@leifbladt
Copy link
Contributor Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant