You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make density-based explainers Rails-aware (depth, god-class, surface, hotspots)
Follow-up to the layers/cycles tuning: three explainers still misfired on
autoloaded, framework-heavy, public-by-default codebases.
- dependency-depth: count an oversized coupling cluster (SCC) as one logical
layer instead of its full size, so a giant autoload cluster no longer reports
every chain through it as an extreme depth.
- god-class, hotspots: exclude framework/base scaffolding classes (Application*,
*BaseController, *::Base) via a Ruby-gated helper -- high fan-in through
inheritance isn't a god class.
- exported-surface: skip Ruby symbols; public-by-default makes the
exported/total ratio ~100% and uninformative.
- explain hotspots: compute module blast radius over the module graph instead of
an all-node reverse count that saturates in a densely-coupled graph.
Explainer-only, no extractor change, so no cacheVersion bump.
0 commit comments