Cha
v1.0.7
v1.0.7
Apr 20 2026 at 08:29 UTC
Added
- Module inference rewrite: directory elbow + LCOM4 adaptive split + ICR + TCC quality metrics
cha layers --depth Nto override auto-detected directory depthcha layers --format dsm|terminaloutput formats- Composite risk scoring for
long_method:risk = lines_ratio × complexity_factor
Changed
- Module inference algorithm: replaced Union-Find with directory elbow + LCOM4 + ICR
long_methodseverity now based on composite risk (Hint/Warning/Error at risk 1/2/4)
Fixed
cha:ignoredirective now covers up to 2 lines before a function- Fixed corrupted dot output and switched to LR layout for better layer readability