Quickstart
Run Code Buster from the repository you want to analyze. Configuration is optional.
Analyze production source
Section titled “Analyze production source”cb summaryThe default analysis detects supported languages and frameworks, selects production source, and classifies conventional tests, examples, fixtures, benchmarks, generated code, and vendored files separately.
For a machine-readable report:
cb summary --format jsonInclude auxiliary source
Section titled “Include auxiliary source”cb summary --include-testscb summary --include-examplescb summary --include-vendoredcb summary --allThe summary coverage ledger distinguishes selected, test, example, vendored, generated, unsupported, binary, ignored, and unchanged files. Inclusion changes selection; it does not erase classification.
Explain selection and findings
Section titled “Explain selection and findings”cb inspect path/to/file.dartcb explain <rule-id>cb why path/to/file.dartcb related path/to/file.dartUse inspect to understand file classification. Use explain for rule rationale and remediation. Use why, related, and path when investigating repository wiring.
Review quality
Section titled “Review quality”cb scorecb qualitycb hotspotscb plancb actionscb reviewThese views organize the same analysis evidence for different decisions: prioritization, quality gates, high-risk areas, remediation, and code review.
Add configuration only when needed
Section titled “Add configuration only when needed”cb initcb config explaincb init creates a minimal code-buster.toml. cb config explain displays effective defaults, inferred repository policy, file configuration, environment input, and CLI overrides.