Skip to main content

Summary

FeatureStatusNotes
MaintainabilityComplexity, duplication, code smells
LintingVia Semgrep
Custom checks
Security scanningAppSec and secrets
Code metrics
Code coverageVia gcov / LCOV

Details

Maintainability
ComplexityAka cognitive complexity
Cyclomatic complexity
Identical code duplication
Similar code duplication
Code smells
Linters
SemgrepStatic analysis with a community rule library
Custom checks
ast-grep
Semgrep
ripgrep
Security scanning
GitleaksSecrets scanning
SemgrepAppSec (SAST)
TrivyDependency scanning (SCA) for Conan
TruffleHogSecrets scanning
Code coverage
gcov / lcov
LCOV coverage format
Cobertura coverage format

File extensions

By default, C files are defined as:
[file_types.c]
globs = ["*.c"]
By default, C++ files are defined as:
[file_types.cpp]
globs = ["*.cpp", "*.hpp", "*.cc", "*.cxx", "*.c++", "*.h", "*.h++", "*.hh", "*.hxx"]
These patterns can be overridden from qlty.toml.