refact "cscli metrics" part 3 #2807
88.64% of diff hit (target 0.00%)
View this Pull Request on Codecov
88.64% of diff hit (target 0.00%)
Annotations
Check warning on line 429 in cmd/crowdsec-cli/metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/metrics.go#L428-L429
Added lines #L428 - L429 were not covered by tests
Check warning on line 433 in cmd/crowdsec-cli/metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/metrics.go#L432-L433
Added lines #L432 - L433 were not covered by tests
Check warning on line 512 in cmd/crowdsec-cli/metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/metrics.go#L511-L512
Added lines #L511 - L512 were not covered by tests
Check warning on line 518 in cmd/crowdsec-cli/metrics.go
codecov / codecov/patch
cmd/crowdsec-cli/metrics.go#L517-L518
Added lines #L517 - L518 were not covered by tests
Check warning on line 98 in cmd/crowdsec-cli/metrics_table.go
codecov / codecov/patch
cmd/crowdsec-cli/metrics_table.go#L97-L98
Added lines #L97 - L98 were not covered by tests
Check warning on line 120 in cmd/crowdsec-cli/metrics_table.go
codecov / codecov/patch
cmd/crowdsec-cli/metrics_table.go#L119-L120
Added lines #L119 - L120 were not covered by tests
Check warning on line 140 in cmd/crowdsec-cli/metrics_table.go
codecov / codecov/patch
cmd/crowdsec-cli/metrics_table.go#L139-L140
Added lines #L139 - L140 were not covered by tests
Check warning on line 159 in cmd/crowdsec-cli/metrics_table.go
codecov / codecov/patch
cmd/crowdsec-cli/metrics_table.go#L159
Added line #L159 was not covered by tests
Check warning on line 184 in cmd/crowdsec-cli/metrics_table.go
codecov / codecov/patch
cmd/crowdsec-cli/metrics_table.go#L183-L184
Added lines #L183 - L184 were not covered by tests
Check warning on line 216 in cmd/crowdsec-cli/metrics_table.go
codecov / codecov/patch
cmd/crowdsec-cli/metrics_table.go#L215-L216
Added lines #L215 - L216 were not covered by tests
Check warning on line 77 in cmd/crowdsec-cli/support.go
codecov / codecov/patch
cmd/crowdsec-cli/support.go#L76-L77
Added lines #L76 - L77 were not covered by tests