$qlty smells [OPTIONS] [PATHS]

Identify code smells like duplication and structure issues

Detect issues like duplication (copy and pasted code), high complexity, deeply nested control flows, etc. for supported languages using our custom built static analysis.

Arguments

Examples

Analyze your current branch
$qlty smells
Analyze your entire project for code smells
$qlty smells --all
Analyze specific paths for code smells
$qlty smells example-app/components/ui react-app/utils
Analyze a specific file for code smells
$qlty smells example-app/components/ui/Dropdown.tsx
Skip duplication analysis
$qlty smells --all --no-duplication
Analyze for code smells against a specific upstream branch
$qlty smells --upstream origin/main

See Also