gojp / goreportcard

A report card for your Go application
https://goreportcard.com
Apache License 2.0
1.99k stars 252 forks source link

Test files should not be analyzed #403

Open firepear opened 1 year ago

firepear commented 1 year ago

Tests are not actively part of the codebase unless tests or benchmarks are being run. Also, not infrequently, to check edge cases or boundary conditions, one must do weird things in tests.

It seems unfair to ding quality scores because unusual patterns show up in tests.