Browse documentation

How the dependency aging audit works

Understand which dependency changes offer a practical benefit and what migration would require.

Audit page Dependency aging audit 

What this audit answers

Dependency Aging asks which updates or replacements would materially improve support or maintainability, and what the migration would require. A maintained and compatible version can be a sound choice even if newer releases exist.

What Enji Guard inspects

Enji Guard maps resolved dependencies, project usage and platform constraints, then checks relevant release, support and migration evidence from maintainers. The six diagnostic areas connect versions to decisions.

  • Used versions and constraints identifies actual versions, forks and language, runtime or toolchain limits.
  • Support and maintenance outlook checks support status, deprecation and end-of-life evidence.
  • Product-relevant update benefit connects possible changes to concrete gains for the project.
  • Compatibility and migration work traces affected APIs and configuration, prerequisites and validation effort.
  • Dependency and platform blockers identifies parent chains, coupled upgrades and platform constraints.
  • Prioritized sustainable plan weighs staying, updating and replacing, with an order for changes and focused acceptance checks.

How evidence becomes findings

A scored finding needs evidence of lost support, a blocked useful change, or a concrete compatibility or maintenance burden. The finding connects maintainer evidence to the project’s actual usage and a supported target or justified replacement. Optional upgrades can appear as Info.

Critical is reserved for exceptional, imminent inability to sustain essential operations across the product. High covers a major cross-product support or compatibility constraint with substantial migration and concrete near-term impact. Medium covers a bounded unsupported component or meaningful update blocker. Low covers a small, demonstrated maintenance burden. Version age and distance from the latest release do not set severity.

What the report includes

The report records resolved and candidate versions, maintainer sources and dates, relevant usage paths, and coverage limits. Material recommendations explain the expected benefit, the trade-offs of changing or staying, and the migration steps and effort. Effort is expressed in justified bands with acceptance checks suited to the change.

How the score works

Enji Guard calculates scores the same way across audits. The score starts at 100. Each distinct, evidence-supported finding deducts 25 points for Critical, 14 for High, 7 for Medium, or 3 for Low. Info deducts zero. The result stays within 0–100 and cannot exceed 69 when there is at least one Critical or at least two High findings. Diagnostic criteria do not contribute points to this calculation.

Limitations and boundaries

The read-only audit leaves dependencies and lockfiles unchanged. An unavailable registry or missing maintainer information leaves support status uncertain. Release cadence alone cannot establish abandonment. The audit is not applicable when the project has no third-party dependency or relevant runtime or toolchain to assess. Known vulnerability advisories belong to the Dependency Vulnerabilities audit.

Review and rerun

Use the proposed order to review prerequisite changes and decide which upgrade or replacement is worth validating. After a dependency change, check the resolved graph and the affected behavior, then rerun on the updated revision.