How exclusions work — the three presets above are
on by default on every platform, to approximate SonarQube's analyzed scope (drops tests, vendored libraries and build output). Untick any to count them.
Folder keywords — excludes any folder whose name contains the keyword as a whole word, at any depth (words split on - _ .).
test → /test/, /integration-test/, /my_test_suite/ ✓ /protest/, /latest/ ✗
File name patterns — * wildcard matched against the whole file name. Wildcards on both sides span every language sharing a convention.
*_test.* → Go/Python/Rust/… tests *.spec.* → JS/TS specs *.min.* → minified bundles
Extensions — skips every file with a matching extension, regardless of language (e.g. .css,.html).