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

Coverage measure for custom coverage metrics should not be saved directly by a Sensor #18

Closed
mwz opened this issue Feb 18, 2018 · 1 comment

Comments

@mwz
Copy link
Owner

@mwz mwz commented Feb 18, 2018

The following deprecation warnings are shown when running sonar analysis:

WARN: Coverage measure for metric 'lines_to_cover' should not be saved directly by a Sensor. Plugin should be updated to use SensorContext::newCoverage instead.
WARN: Coverage measure for metric 'uncovered_lines' should not be saved directly by a Sensor. Plugin should be updated to use SensorContext::newCoverage instead.
WARN: Coverage measure for metric 'coverage_line_hits_data' should not be saved directly by a Sensor. Plugin should be updated to use SensorContext::newCoverage instead.

@mwz

This comment has been minimized.

Copy link
Owner Author

@mwz mwz commented Mar 24, 2018

Fixed in #34.

@mwz mwz closed this Mar 24, 2018
@mwz mwz added this to Done in sonar-scala Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
sonar-scala
  
Done
1 participant
You can’t perform that action at this time.