Skip to main content

vulkro-sf trends

Shows whether technical debt went up or down across your recorded vulkro-sf quality runs.

vulkro-sf quality ./force-app # records a snapshot each run
vulkro-sf trends
vulkro-sf trends --limit 10 --format json

Each vulkro-sf quality run appends a snapshot (governance score, findings by severity, anti-pattern density, complexity, coverage) to ~/.vulkro-sf/data/quality-history.jsonl, or under VULKRO_SF_DATA_DIR when set. trends compares the oldest and newest snapshot in the window. Debt went up when the governance score fell, findings rose, anti-pattern density or complexity rose, or coverage fell.

FlagWhat it does
--limit <n>Only the most recent n snapshots. Default 0 (all).
--project <name>Which project to report on. Default: the most recently recorded one.
--format <table|json>Output format. Default table.

Exit codes​

CodeMeaning
0Trend shown (also with one snapshot or an empty history).
2Error (history unreadable, unknown --format).