aboutcode-org / aboutcode-org/scancode-toolkit

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

オープン
#3,439 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。