aboutcode-org / aboutcode-org/scancode-toolkit

BSD-2-Clause incorrectly detected as BSD-3-Clause AND BSD-2-Clause

Open
#4,718 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

### Description

> When OSS package https://github.com/terser/terser/tree/v5.44.0 was scanned with Scancode, the scanner incorrectly identify the detected license as 'BSD-3-Clause AND BSD-2-Clause'.

### How To Reproduce

> Run scancode scan on https://github.com/terser/terser/tree/v5.44.0

`scancode -clpeui -n 2 --json-pp
`
### System configuration

> For bug reports, it really helps us to know:

* Windows
* Scancode version:
ScanCode version: v32.2.1-139-g20f379461a
ScanCode Output Format version: 4.0.0
SPDX License list version: 3.25
* What installation method was used to install/run scancode? Source

Please find attached the sample report
[sample.json](https://github.com/user-attachments/files/25000269/sample.json)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.