aboutcode-org / aboutcode-org/scancode-toolkit

proprietary license false positive

Aperta
#3,621 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

### 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"
}
],
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.