$qlty metrics [OPTIONS] [PATHS]

Compute code quality metrics

Calculate metrics like classes count, complexity, lines of code, and cohesion for supported languages using our custom built static analysis.

Arguments

Examples

Summarize metrics across directories
$qlty metrics --all --max-depth 2
Review the 10 most complex files
$qlty metrics --all --sort complexity --limit 10
View function-level metrics for a file
$qlty metrics --functions remix/app/root.tsx

See Also