Safety & Security · New in 2027
Licensing Checks
The licence and copyright header of every file, checked against your policy and the licence of your project.
Licensing Checks read the licence and copyright header of every source file and answer: which licences are in my code, are they allowed, are they compatible with the licence of my project, and which third-party files carry no licence information at all.
Every licence recognised
Licences are read from the SPDX-License-Identifier tag and, when there is none, from the text of the
header: MIT, Apache, BSD, GPL, LGPL, AGPL, MPL, ISC, Zlib, Boost and others. Deprecated identifiers such as
GPL-2.0 are flagged.
Your files and third-party files
CppDepend does not guess from folder names: it uses what it already knows about your projects to separate your own files, third-party files (framework projects, external and system headers) and generated files.
Your policy, checked at every analysis
- Allowed and denied licences, for example no GPL or AGPL in a proprietary product.
- Compatibility with the licence of your project, such as GPL code in a permissive or proprietary project.
- Required headers: a licence header, a copyright notice, an SPDX tag, or the exact text of your company notice.
- Copyleft to review, unknown licences and proprietary notices in open or third-party files.
Fast on large code bases
Only the top of each file is read. Third-party files are read in parallel and capped, so system headers do not slow the analysis down. Findings are issues of the tool Licensing, with file and line, in the report and the quality gates. Compatibility is based on common licence families and is not legal advice.
