← HomepageAll repository proofValidation recordState of TS Architecture 2026
Repository proof
Mocha architecture
Changing lib/utils in Mocha reaches 54 modules. 21 files call it directly. Snapshot 5b5afa7.
The first file to open in Mocha is lib/utils. A change there reaches 54 of 71 modules.
This lead file reaches 76% of the graph. The median published proof reaches 60%.
Median 60%. Thick bar is blast share. Thin bar is fan-in.
Project: Mocha · Score: 95.3/100 (Excellent architecture) · 71 modules · 174 edges · JavaScript · 10 of 43 · Language score median 91.7
- Cycles
- 1
- Duplicate authorities
- 0
- God modules
- 4
- Layer violations
- 0
arc impact lib/utilsUnder 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
README badge
[](https://arcsight.ai/repositories/mocha/)Blast radius paths
Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
Mocha · 5b5afa7
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 1 | lib/ concentrates too many responsibilities, shared utility hub | 21 | 54 | 76% |
| 2 | lib/ concentrates too many responsibilities, shared utility hub | 20 | 53 | 75% |
| 3 | lib/ | 6 | 45 | 63% |
| 4 | lib/ | 7 | 42 | 59% |
| 5 | lib/ concentrates too many responsibilities | 20 | 35 | 49% |
All ranked files
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 6 | lib/ | 16 | 32 | 45% |
| 7 | lib/ | 5 | 20 | 28% |
| 8 | lib/ | 6 | 14 | 20% |
| 9 | mocha | 0 | 0 |
Circular dependencies
This snapshot records 1 dependency cycles.
Nearby proofs
- Karma architecture 96.6/100 · 72 modules
- Anime.js architecture 93.9/100 · 70 modules
- Leaflet architecture 91.6/100 · 72 modules
Snapshot notes
In mochajs mocha, a change that begins in utils keeps traveling until it reaches errors, with runnable as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark bdeaddaada.
suite is worth opening beside utils because runner still participates when suite moves, and reporters base stays in view for mochajs mocha, snapshot mark bdeaddaada.
Review test only after errors and mocha are both on the table, since the link from error-constants back to runnable belongs to mochajs mocha under snapshot mark bdeaddaada.
utils and errors are later stops, and a reviewer who has already seen runnable should still look at suite before treating the ROOT_CLUSTER group as understood for mochajs mocha, snapshot mark bdeaddaada.
suite closes the file list after runner and utils, which keeps the mochajs mocha note tied to snapshot mark bdeaddaada, and the files named in this paragraph are the ones the review is willing to stand on.
Subsystem overview
- ROOT_CLUSTER (56 modules)
CLI workflow
Impact, then scan, fix, finish, and watch.
arc impact <file>See what a change breaksarc scanFind issuesarc fixApply fixesarc finishResolve remainingarc watchKeep clean
FAQ
- Which file should change first in mochajs mocha: utils?
- Start with utils, because the rest of the mochajs mocha walk leaves from that file and errors is the next file in the same review. Commit bdeaddaada records it.
- What else is on the mochajs mocha walk besides utils and runnable?
- runnable and suite stay on the walk with runner, which are different files from utils inside the ROOT_CLUSTER group for mochajs mocha. Commit bdeaddaada records it.
- How should a reviewer use reporters base in the mochajs mocha snapshot?
- Keep reporters base, test, and mocha open together, then check error-constants before merging the mochajs mocha change. Commit bdeaddaada records it.
- Where does the mochajs mocha review stop after utils?
- Stop after utils, errors, and runnable have been compared with suite, leaving the ROOT_CLUSTER group until those mochajs mocha files are clear. Commit bdeaddaada records it.
Run ArcSight on your repo
Install locally, then run arc impact on the file you plan to change — before merge.
Embed this report
Use this iframe to show the architecture badge on your site.
<iframe src="https://arcsight.ai/embed/mocha/" width="320" height="180" frameborder="0"></iframe>Explore
Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo