nexB / scancode-analyzer

scancode-results-analyzer
4 stars 2 forks source link

Add conditions to detect full coverage "unknown" rules as incorrect #36

Closed AyanSinhaMahapatra closed 3 years ago

AyanSinhaMahapatra commented 3 years ago

When in a region,

  1. All the matches has full coverage
  2. There are one/multiple matches with an "unknown" license

Then this is not flagged as problematic but detected as correct license detection presently, as it was assumed at least one match in that region will surely have a low-coverage. But this doesn't seem to be the case.

So there should be conditions added if there are "unknown" matches, regardless of full score/coverage.