Review Salesforce field dependencies, candidate retirement and production change fail rate.
Technical-debt metrics are org-specific by nature; the value is the trend, not the absolute number. Anchor on whether debt is being paid down each quarter, not on hitting a universal threshold.
Separate candidate debt from proven dependencies
In the sample Salesforce org, 24 of 160 Opportunity custom fields are retirement candidates. A dependency review finds that 10 feed reporting or integrations and 6 support a low-volume process. That leaves 8 for a sandbox retirement test. Keep that denominator stable until the next audit so the team can explain what actually changed.
Screen
Review 160 fields and flag 24 candidates.
Trace dependencies
Find 10 fields with consumers and six needed for rare cases.
Rehearse
Move eight candidates into sandbox retirement tests.
What to do after the first dependency scan
Signal
What it shows
Next check
24 flagged fields
15% of the 160 reviewed fields need investigation.
Run Where is this used? for each custom field, check source and reports, and ask integration owners about external consumers.
8 candidates after review
5% of reviewed fields can move to sandbox retirement tests.
Check seasonal work, migrate readers before writers are stopped, and retain the export used for data recovery.
2 production interventions from 20 deployments
10% change fail rate for the measured window.
Link each hotfix or rollback to the production deployment that required it.
Where is this used? lists supported Salesforce references. It can omit references inside installed managed packages and cannot show external consumers. Review Setup Audit Trail and release records for recent changes, then confirm the affected workflows before removing the field. Use the migration guide to plan the exit and data recovery separately.
6 indicators
HLT-01
Orphaned field rate
Share of reviewed custom fields with no confirmed use after the agreed checks.
reviewed fields with no confirmed use / reviewed custom fields
Worked check
The example audit found eight candidates after review. Check managed packages, integration mappings and seasonal work before deletion.
HLT-02
Dormant automation rate
Share of active components with no observed execution in a named window and workload.
active components with no observed execution / active components observed
Worked check
Check the longest relevant business cycle. An annual renewal path can be quiet for most of the year.
HLT-03
Field utilization
Population of an individual field within the records to which it applies.
in-scope records with a value / in-scope records
Worked check
Use a cohort that should carry the field. A low org-wide rate can hide a required field on one record type.
HLT-04
Hard-coded reference count
Count of reviewed references whose stored value may differ across environments or over time.
Worked check
Track literal user IDs, record IDs and endpoints beside the releases and objects they can affect.
HLT-05
Deprecated component count
Count of components with a confirmed retirement or replacement plan in the platform or your org.
Worked check
Record affected processes and the target release for each replacement. Check current product support before adding a component to the count.
HLT-06
Change failure rate
Share of production deployments needing immediate intervention after release.
production releases requiring immediate intervention / production releases
Worked check
Two interventions across 20 production releases produces a 10% change fail rate. Keep sandbox validation failures in a separate measure.