aboutcode-org / scancode-analyzer

scancode-results-analyzer
4 stars 2 forks source link

Add License Issues Summary #44

Closed AyanSinhaMahapatra closed 3 years ago

AyanSinhaMahapatra commented 3 years ago
  1. Adds option to summarize license issues in a scan, with statistics and unique issues with their occurrences,
  2. Add tests,
  3. Add issue uniqueness identifier.

Signed-off-by: Ayan Sinha Mahapatra ayansmahapatra@gmail.com

AyanSinhaMahapatra commented 3 years ago

Changes made include:

  1. Add the FileRegion class changing the Issue/Summary structure, and move path there.
  2. Unique License Issues now contain start and end line in files.
  3. Add a property identifier in place of pk
  4. Change plugin to always show summary
  5. Update error reporting with traceback
  6. Fix bug on the calculation of count_files_with_license_detection_issues
  7. Change Summary Classes, UniqueLicenseIssues class is dropped, for a simpler structure.
  8. Fix variable naming issues.