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

Emit absolute values for aggregation #249

Closed
wants to merge 1 commit into from
Closed

Emit absolute values for aggregation #249

wants to merge 1 commit into from

Conversation

blampe
Copy link

@blampe blampe commented May 11, 2018

This is a proposal/WIP to emit absolute line coverage numbers in addition to the current percentages. This information is useful for aggregating coverage data from multiple sources.

A corresponding diff in Uberalls would be responsible for consuming and persisting this data.

I haven't considered backwards compatibility issues. I imagine we would want to keep the legacy constructors around for anyone with custom reporter implementations.

I have no intention of landing this -- anyone is free to pick it up. This would certainly need some additional testing (in addition to fixing the couple of failures).

@@ -26,16 +26,20 @@
private float classesCoveragePercent = -1;
private float methodCoveragePercent = -1;
private float lineCoveragePercent = -1;
private float linesCovered = -1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are integral values, so int would be more appropriate type

@kageiit
Copy link
Contributor

kageiit commented Oct 6, 2018

This is fixed as part of 6cb7413

@kageiit kageiit closed this Oct 6, 2018
@kageiit kageiit deleted the aggregation branch October 6, 2018 00:08
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

Successfully merging this pull request may close these issues.

None yet

3 participants