aboutcode-org / aboutcode-org/scancode-toolkit

proprietary license false positive

未關閉
#3,621 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

### Description

I have some C# code here (that I cannot share) where a license is detected where there is none. This is a part of the code (method name was changed, because no one seriously would use `blah` as a method name, right???):

```
return license;
}

private void blah(object sender, EventArgs e)

```

This is the rule that triggered it:

```
"matches": [
{
"score": 100.0,
"start_line": 292,
"end_line": 295,
"matched_length": 2,
"match_coverage": 100.0,
"matcher": "2-aho",
"license_expression": "proprietary-license",
"rule_identifier": "proprietary-license_553.RULE",
"rule_relevance": 100,
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/proprietary-license_553.RULE",
"matched_text": "license;\r\n }\r\n\r\n private"
}
],
```

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。