Repository navigation
Weave v1.12.2
Quality Scanner Fixes
- DIT → direct_bases rename —
len(cls.bases)measures the number of direct base classes (breadth), not inheritance chain depth. Metric renamed fromdittodirect_basesfor semantic honesty. Old key retained for backwards DB compatibility. (Issue 5) - ExceptHandler ev depth —
visit_ExceptHandlernow tracks depth in the essential complexity visitor, fixing ev(G) under-counting for try/except patterns with returns at different structural levels. (Issue 8)
Deferred to backlog:
- Issue 7: Nested function CC double-counting (needs dual-mode visitor)
- Issue 9: Quality score ignoring ev/Gini/indent_sd (needs scoring formula redesign)
Full test suite: 279 Python tests passing, make check clean.