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

Metrics for plugins other than warn #449

Open
petertrr opened this issue Sep 6, 2022 · 0 comments
Open

Metrics for plugins other than warn #449

petertrr opened this issue Sep 6, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@petertrr
Copy link
Member

petertrr commented Sep 6, 2022

For warn-plugin we calculate and store count of matched, expected and other warnings. Based on this data we can calculate various scores and use them in save-cloud.

For fix-plugin a possible idea for a metric is number of lines in the diff between expected file and actually fixed file.

For fix-and-warn-plugin we'll need a way to combine those metrics.

Maybe, a separate data class could be introduced for all these counts.

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

No branches or pull requests

1 participant