aboutcode-org / aboutcode-org/scancode-toolkit
gpl1+ gpl2+ false detection
未关闭
bug
improve-license-detection
license scan
- 主要语言
- Python
- 星标
- 2.6k
- 派生
- 791
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 5
描述
### Description
Some of the gpl1 rules matches very few text and have
probability to match real code.
for example:
```src/licensedcode/data/rules/gpl-1.0-plus_50.RULE```
only contains 'gpl1+'
On some of my scanned code, I have some variable named i_gpl1, which is incremented in a for loop, so several occurence of
```i_gpl1++```
scancode matches this as gpl-1.0-plus with a score of 100.
I also have another variable named i_gpl2, which also gets incremented, and the rule
```src/licensedcode/data/rules/gpl-2.0-plus_188.RULE``` will match it as gpl-2.0-plus
贡献指南
评估
这个 Issue 还没有评估数据。