aboutcode-org / scancode-toolkit

:mag: ScanCode detects licenses, copyrights, dependencies by "scanning code" ... to discover and inventory open source and third-party packages used in your code. Sponsored by NLnet project https://nlnet.nl/project/vulnerabilitydatabase, the Google Summer of Code, Azure credits, nexB and others generous sponsors!
https://aboutcode.org/scancode/
2.15k stars 553 forks source link

Weird incorrect license detections in some JS and CSS map files and DTDs #2401

Open pombredanne opened 3 years ago

pombredanne commented 3 years ago

Description

These files need some review as there are some weird licenses detected:

How To Reproduce

Scan for license and review results quality

kartikeysaran commented 3 years ago

Can i work on this issue ?

pombredanne commented 3 years ago

@kartikeysaran sure thing!

kartikeysaran commented 3 years ago

@kartikeysaran sure thing!

Thankyou !

Abhicodes-crypto commented 3 years ago

@kartikeysaran Are you still working on this issue ?

pombredanne commented 3 years ago

@Abhicodes-crypto I think @kartikeysaran has not followed up on this, so this is good to grab!

Abhicodes-crypto commented 3 years ago

Thanks @pombredanne . I'll start working on it.

Abhicodes-crypto commented 3 years ago

@pombredanne I downloaded the first file (bootstrap.min.css.map) and then executed the following command scancode-toolkit-30.1.0/scancode -l --json-pp output.json bootstrap.min.css.map

The output file is : https://pastebin.com/1eZNd5vj It doesn't show any licenses.

The log that I got on terminal is : https://pastebin.com/jiEpjCEj

I am not sure what to look for. Can you please guide me further.

P.S : I am new to scancode.