Skip to main content
ArcSight

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.

MetricLeafletOpenLayers
Architecture score91.684.8
Architecture complexity1468
Modules72374
Dependency edges3541777
Dependency cycles2—
Subsystem count12
Duplicate authorities34
Dependency density4.94.8