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 摘要。