aboutcode-org / aboutcode-org/scancode-toolkit

gpl1+ gpl2+ false detection

オープン
#2,585 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug improve-license-detection license scan
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。