Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Aggregate measures for custom coverage metrics. #447

Merged
merged 5 commits into from
May 25, 2020

Conversation

mwz
Copy link
Member

@mwz mwz commented May 10, 2020

Measures for custom metrics reported on files are no longer aggregated automatically, so this PR intends to fix that by implementing a custom MeasureComputer. It gets executed by SonarQube's compute engine and allows us to aggregate measures for all the children across all of the project's components i.e. directories and modules.

I've not tested this yet and ScoverageMeasures is missing unit tests.

Should fix #432 when finished.

@mwz mwz marked this pull request as ready for review May 24, 2020 19:55
@mwz mwz changed the title WIP Aggregate measures for custom coverage metrics. Aggregate measures for custom coverage metrics. May 24, 2020
@mwz
Copy link
Member Author

mwz commented May 24, 2020

Here's an example of those custom measures showing up in the activity graph.

Screenshot 2020-05-24 at 20 54 37

Screenshot 2020-05-24 at 20 55 15

@mwz
Copy link
Member Author

mwz commented May 24, 2020

And here's those measures showing up in the measures section. (those should be all under tests, so I'll fix that.)

Project_Overview

Project_Overview

@mwz mwz merged commit 7022985 into master May 25, 2020
@mwz mwz deleted the aggregate-coverage-measures branch May 25, 2020 15:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing measures for custom metrics
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.