save-cli icon indicating copy to clipboard operation
save-cli copied to clipboard

Metrics for plugins other than `warn`

Open petertrr opened this issue 3 years ago • 0 comments

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.

petertrr avatar Sep 06 '22 14:09 petertrr