Leaflet vs OpenLayers
OpenLayers file src/ol/util reaches 227 modules. Leaflet file src/core/Util reaches 70 modules.
Snapshot
Stored analysis for both repositories.
ArcSight CLI (simulated)
$ arc analyze leaflet
Architecture Score: 91.6
Modules: 72
Cycles: 2
Hotspots: 15
Primary Pattern: Modular Monolith
$ arc analyze openlayers
Architecture Score: 84.8
Modules: 374
Cycles: 0
Hotspots: 15
Primary Pattern: Modular Monolith
Snapshot from commit a10e840 and 33bcbad. The browser did not re-run the scan.
| Metric | Leaflet | OpenLayers |
|---|---|---|
| Architecture score | 91.6 | 84.8 |
| Architecture complexity | 14 | 68 |
| Modules | 72 | 374 |
| Dependency edges | 354 | 1777 |
| Dependency cycles | 2 | — |
| Subsystem count | 1 | 2 |
| Duplicate authorities | 3 | 4 |
| Dependency density | 4.9 | 4.8 |