ScanCode is a tool to scan code and detect licenses, copyrights, packages metadata & dependencies and more... to find, discover, inventory open source and third-party components used in your code.
ScanCode is a suite of utilities used to scan a codebase for license,
copyright and other interesting information that can be discovered in
files.
A typical software project often reuses hundreds of thirdparty
components. License and origin information is often scattered and not
easy to find: ScanCode discovers this data for you.
ScanCode provides reasonably accurate scan results and the line
position where each result is found. The results can be formatted as
JSON or HTML, and ScanCode provides a simple HTML app for quick
visualization of scan results.