smells
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
[PATHS]
One or more paths to scan for code smells.
-a, --all
Compute smells for all files, not just changed
--no-duplication
Don’t check for duplication
--include-tests
Include tests
--no-snippets
Don’t show code snippets
--upstream
Upstream base ref to compare against
--quiet
Only show results
Examples
Analyze your current branch
Analyze your entire project for code smells
Analyze specific paths for code smells
Analyze a specific file for code smells
Skip duplication analysis
Analyze for code smells against a specific upstream branch