nexB / scancode-analyzer

scancode-results-analyzer
4 stars 2 forks source link

Add Divide Cases Functions and Test Files (InterestingScan Results) #6

Closed AyanSinhaMahapatra closed 3 years ago

AyanSinhaMahapatra commented 3 years ago

Add functions to divide cases by location groups, remove non-unique cases, divide into cases and related analysis, and functions to craft rules from a group of matches having matched_text fragments.

Adds test scan files for testing. Add data loading functions, and minor modifications in results_analyze.

AyanSinhaMahapatra commented 3 years ago

@majurg @pombredanne I added the Adds rules-license-analyze functions commit here from https://github.com/nexB/scancode-results-analyzer/pull/5, because tests won't work unless all the functions are there. That was already approved @majurg

Also, the main functions are there in divide_cases.py which I request review for and there's a lot of Scan Files I don't think those need review.