Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Doctrine ORM architecture

Changing src/Exception/ORMException.php in Doctrine ORM reaches 245 modules. 21 files call it directly. Snapshot 90d3957.

The first file to open in Doctrine ORM is src/Exception/ORMException.php. A change there reaches 245 of 474 modules.

This lead file reaches 52% of the graph. The median published proof reaches 60%.

Exception/ORMException.php245 · 21 fan-in
Query/ResultSetMapping.php236 · 15 fan-in
src/Cache.php233 · 10 fan-in
Cache/EntityCacheKey.php233 · 7 fan-in
Cache/CollectionCacheKey.php232 · 8 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: Doctrine ORM · Score: 81/100 (Healthy architecture) · 474 modules · 881 edges · PHP · 16 of 21 · Language score median 86.9

Cycles
69
Duplicate authorities
0
God modules
13
Layer violations
0
arc impact src/Exception/ORMException.php

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for Doctrine ORM
[![ArcSight architecture proof for Doctrine ORM](https://arcsight.ai/badge/proof/doctrine/)](https://arcsight.ai/repositories/doctrine/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

Doctrine ORM · 90d3957

RankFileFan-inBlastShare
1src/Exception/ORMException.php

concentrates too many responsibilities, shared utility hub

2124552%
2src/Query/ResultSetMapping.php

concentrates too many responsibilities, shared utility hub

1523650%
3src/Cache.php

concentrates too many responsibilities

1023349%
4src/Cache/EntityCacheKey.php723349%
5src/Cache/CollectionCacheKey.php823249%
All ranked files
RankFileFan-inBlastShare
6src/Proxy/DefaultProxyClassNameResolver.php1123149%
7src/Internal/SQLResultCasing.php923049%
8src/Mapping/MappingException.php1222948%

Highest fan-in

src/Query/SqlWalker.phpfan-in 90

Circular dependencies

This snapshot records 69 dependency cycles.

Nearby proofs

Snapshot notes

In doctrine doctrine, a change that begins in Exception ORMException.php keeps traveling until it reaches Query ResultSetMapping.php, with Cache.php as the third file on that walk and the Exception-PersisterException.php group as the group around them, snapshot mark deabffccfe.

Cache EntityCacheKey.php is worth opening beside Exception ORMException.php because Cache CollectionCacheKey.php still participates when Cache EntityCacheKey.php moves, and Proxy DefaultProxyClassNameResolver.php stays in view for doctrine doctrine, snapshot mark deabffccfe.

Review src SQLResultCasing.php only after Query ResultSetMapping.php and Mapping MappingException.php are both on the table, since the link from Query SqlWalker.php back to Cache.php belongs to doctrine doctrine under snapshot mark deabffccfe.

EntityManagerInterface.php and Mapping ClassMetadata.php are later stops, and a reviewer who has already seen Exception ORMException.php should still look at Query Parser.php before treating the Exception-PersisterException.php group as understood for doctrine doctrine, snapshot mark deabffccfe.

Exception ORMException.php closes the file list after Query ResultSetMapping.php and Cache.php, which keeps the doctrine doctrine note tied to snapshot mark deabffccfe, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • Exception-PersisterException.php (5 modules)
  • Mapping-ClassMetadata.php (91 modules)
  • Mapping-ClassMetadataFactory.php (73 modules)
  • Mapping-MappingAttribute.php (3 modules)
  • Query-SqlWalker.php (107 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in doctrine doctrine: Exception ORMException.php?
Start with Exception ORMException.php, because the rest of the doctrine doctrine walk leaves from that file and Query ResultSetMapping.php is the next file in the same review. Commit deabffccfe records it.
What else is on the doctrine doctrine walk besides Exception ORMException.php and Cache.php?
Cache.php and Cache EntityCacheKey.php stay on the walk with Cache CollectionCacheKey.php, which are different files from Exception ORMException.php inside the Exception-PersisterException.php group for doctrine doctrine. Commit deabffccfe records it.
How should a reviewer use Proxy DefaultProxyClassNameResolver.php in the doctrine doctrine snapshot?
Keep Proxy DefaultProxyClassNameResolver.php, src SQLResultCasing.php, and Mapping MappingException.php open together, then check Query SqlWalker.php before merging the doctrine doctrine change. Commit deabffccfe records it.
Where does the doctrine doctrine review stop after EntityManagerInterface.php?
Stop after EntityManagerInterface.php, Mapping ClassMetadata.php, and Query Parser.php have been compared with Exception ORMException.php, leaving the Exception-PersisterException.php group until those doctrine doctrine files are clear. Commit deabffccfe records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/doctrine/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo