aboutcode-org / aboutcode-org/scancode-toolkit

The scan results for copyright and URL are mixed up and wrongly detected

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

描述

### Description

A URL in the comment in the source code is not included in the URL results because it is detected as party of copyright notice.

### How To Reproduce

1. Scan the attached file with following command
[src.zip](https://github.com/nexB/scancode-toolkit/files/11901938/src.zip)
2. Result is following scan.json file
[scan.json.zip](https://github.com/nexB/scancode-toolkit/files/11901954/scan.json.zip)
3. You can see a url("https://dummy_url_for_test.com") in the copyright finding on line 247

The exact command I ran is following :
- scancode --license --copyright --url src --json-pp -> scan.json

### System configuration

* What OS are you running on? : MacOS
* What version of scancode-toolkit was used to generate the scan file? : 31.2.6
* What installation method was used to install/run scancode? : pip

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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