Skip to main content

Summary

FeatureStatusNotes
Maintainability✔Complexity, duplication, code smells
Linting✔
Auto-formatting✔
Custom checks✔
Security scanning✔AppSec, dependencies, and secrets
Code metrics✔
Code coverage✔

Details

Maintainability
Complexity✔Aka cognitive complexity
Cyclomatic complexity✔
Identical code duplication✔
Similar code duplication✔
Code smells✔
Linters
golangci-lint✔Fast Go linters runner
radarlint-go✔Static analysis tool
Auto-formatters
gofmt✔Standard Go formatter
Custom checks
ast-grep✔
Semgrep✔
ripgrep✔
Security scanning
Gitleaks✔Secrets scanning
OSV-Scanner✔Dependency scanning (SCA)
radarlint-go✔AppSec (SAST)
Semgrep✔AppSec (SAST)
Trivy✔Dependency scanning (SCA)
TruffleHog✔Secrets scanning
Code coverage
go test✔
Clover coverage format✔
Cobertura coverage format✔

File extensions

By default, Go files are defined as:
These patterns can be overridden from qlty.toml.

Supported Go versions

We officially support Go 1.13 and later for maintainability checks and code coverage. Each plugin may have its own version requirements.