What you are trying to establish

Three things: can we safely change this, what will break first, and what did previous work leave behind? Not a complete inventory of imperfections — a prioritised list of what actually threatens you.

Inheriting a Salesforce org — after an acquisition, a consultant change, or an admin departure — starts with knowing what you are holding.

The seven areas to assess

AreaWhat to checkRed flag
Automation inventoryEvery trigger, Flow, process per objectMultiple competing on one object
Bulk safetyBehaviour on 200-record operationsFailures on data import
Test coverageQuality, not just percentageTests that assert nothing
Security modelProfiles, permission sets, sharingWidespread "Modify All"
IntegrationsError handling and reconciliationSilent failure on outage
Data qualityDuplicates, orphans, required fieldsReports nobody trusts
Technical debtUnused fields, dead code, old packagesNobody knows what is still needed

Test coverage percentage is the most misleading metric in Salesforce. Salesforce requires 75% to deploy, so every org has it. What matters is whether the tests assert anything meaningful and whether they exercise bulk conditions. Tests that insert one record and check nothing satisfy the requirement and prove nothing.

Week one: what exists and what fails

  1. Inventory automation per object. Every trigger, Flow, process builder and validation rule. This list alone frequently surprises people.
  2. Run a bulk test in a sandbox — insert and update two hundred records on your key objects. Record what fails.
  3. Read the test classes. Do they assert outcomes, or just execute code? Do any create bulk data?
  4. Check the security model — how many profiles have broad permissions, and does anything need them?
  5. Test integration failure behaviour — what happens when the external system is unavailable?
  6. Review recent deployment history — frequent hotfixes indicate fragility.

The findings that matter most

PriorityFindingWhy urgent
ImmediateData exposure through sharing gapsConfidentiality risk today
ImmediateIntegrations failing silentlyData diverging unnoticed
UrgentBulk failures on core objectsBlocks data operations
UrgentNo meaningful test coverageEvery change is a risk
ImportantCompeting automation on one objectUnpredictable behaviour
PlannedUnused fields and dead codeMaintenance drag

Sharing model problems come first because they are the only category where the damage is happening right now rather than waiting for a trigger.

The sharing model deserves particular attention

It is the most commonly misconfigured area in inherited orgs, and the consequences are the least visible:

  • "View All" and "Modify All" granted broadly to solve a permissions problem quickly.
  • Apex running "without sharing" where it does not need to, bypassing record access.
  • Field-level security not enforced in custom code or components.
  • Public read-write org-wide defaults set during implementation and never tightened.
  • Sharing rules layered until nobody can determine who sees what.

A quick check that finds real problems: log in as a standard user from a different team and try to view records they should not see. Permission architecture diagrams frequently do not match actual behaviour, and this test takes ten minutes.

What the audit should produce

  • Can we deploy a change safely today? Yes or no, with specifics.
  • A prioritised finding list, with the top three named.
  • An estimate for stabilising the immediate and urgent items only.
  • A recommendation on automation consolidation.
  • What remains unknown and what it would take to find out.

Stabilising before building

  1. Fix security exposure — sharing gaps and over-broad permissions first.
  2. Add error surfacing to integrations so failures stop being silent.
  3. Remediate bulk failures on core objects.
  4. Add meaningful tests around the paths you intend to change.
  5. Consolidate competing automation per object.
  6. Then build new functionality, on a foundation you can trust.

That order matters. Building on an org you cannot deploy to safely compounds the problem rather than adding value.

Inherited an org nobody wants to touch? Tell us what you know about it — we audit before quoting any build work. See our Salesforce service, governor limits, and general codebase audits.

Frequently asked questions

One to two weeks for a moderate org. The goal is a decision about what to stabilise first, not a complete catalogue of everything imperfect — that list is always long and mostly not urgent.
Partly. An admin can inventory what exists, check test coverage percentages and review the automation list. Assessing whether Apex is bulk-safe, or whether the sharing model is being respected, generally needs a developer.
Assume they are — most inherited orgs arrive without their builders. That is why the audit works from the org itself rather than from documentation that probably does not exist.