aboutcode-org / aboutcode-org/scancode-toolkit

cc-pdm-1.0.LICENSE false positive

Đang mở
#4,859 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

### Description

When scanning:

https://github.com/mirror/busybox/blob/master/docs/draft-coar-cgi-v11-03-clean.html#L600

the result is cc-pdm-1.0 which is incorrect, as only 4 words are matched.

```
{
"path": "busybox-1.37.0/docs/draft-coar-cgi-v11-03-clean.html",
"type": "file",
"detected_license_expression": null,
"detected_license_expression_spdx": null,
"license_detections": [],
"license_clues": [
{
"license_expression": "cc-pdm-1.0",
"license_expression_spdx": "CC-PDM-1.0",
"from_file": "busybox-1.37.0/docs/draft-coar-cgi-v11-03-clean.html",
"start_line": 600,
"end_line": 600,
"matcher": "3-seq",
"score": 2.15,
"matched_length": 4,
"match_coverage": 2.15,
"rule_relevance": 100,
"rule_identifier": "cc-pdm-1.0.LICENSE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/cc-pdm-1.0.LICENSE"
}
],
"percentage_of_license_text": 0.04,
"scan_errors": []
},
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.