Skip to content

Weave v1.12.2

Choose a tag to compare

@AGM1968 AGM1968 released this 01 Mar 19:08
· 182 commits to main since this release

Quality Scanner Fixes

  • DIT → direct_bases rename — len(cls.bases) measures the number of direct base classes (breadth), not inheritance chain depth. Metric renamed from dit to direct_bases for semantic honesty. Old key retained for backwards DB compatibility. (Issue 5)
  • ExceptHandler ev depth — visit_ExceptHandler now 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.