How It Works
How TrueMend audits your codebase and delivers results
The Audit
We point TrueMend at your codebase. It scans every supported file against its full anti-pattern library:
truemend audit src/
This produces findings grouped by severity, with per-function quality scores.
Understanding Results
TrueMend reports findings at three severity levels:
- Critical: Issues that likely cause bugs or security vulnerabilities
- High: Anti-patterns that significantly impact maintainability
- Medium: Style issues and minor code smells
Each finding includes:
- The file and line number
- The anti-pattern that matched
- The fix tier (deterministic, cataloged, or structural)
- A suggested remediation
Three-Tier Remediation
Tier 1 — Deterministic Patches: Safe AST transforms applied automatically. Reversible. Verified by re-parse.
truemend fix src/
Tier 2 — Cataloged Refactors: Bounded refactors from a known catalog. We review and apply these with your team.
Tier 3 — Structural Rewrites: Evidence-backed recommendations delivered in the audit report. Never auto-applied.
Reporting
We deliver a comprehensive report with per-function scoring, before/after comparisons, and an executive summary:
truemend report --format pdf --client "Acme Corp" --project "Platform" --tier 1
Continuous Monitoring
For ongoing engagements, TrueMend integrates into your CI pipeline to prevent regression:
truemend audit src/ --ci
# exit 0 = pass, 1 = fail, 2 = warning