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

Added total statements metric to avoid overlaps with coremetrics #24

Conversation

MichaelZinsmaier
Copy link
Contributor

Hi,

thats the 3rd in a series of 3 pull request I tried to separate functionality a bit.
this one is independent of the others

The statements core metric is sometimes already filled by other plugins (probably Java plugins?) and reading out the values in the Sensor has been deprecated. I think it would be best to use a new metric to avoid conflicts with other (e.g. class file based) plugins.

The Pull Request implements this.

ok thats it (-.

Best Michael

If the core metric STATEMENTS value is already set scoverage will not
overwrite the value but the existing value will also not align with the
covered statement values.

Using a separated value solves this problem

- Added totalStatements to the plugin metrics
RadoBuransky added a commit that referenced this pull request Oct 25, 2015
…overage

Added total statements metric to avoid overlaps with coremetrics
@RadoBuransky RadoBuransky merged commit 4c6d3be into RadoBuransky:master Oct 25, 2015
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.

2 participants