werkcrappit shows how complex and how well tested a method is, but not how well a class holds together or how strongly classes depend on each other.
Adding both is larger than one pull request.
The Solution
RFC 0002 proposes LCOM4 for cohesion and Ca/Ce for coupling per top-level class, beside Mutation-CRAP, never mixed into it, with optional limits maxLcom4 and maxEfferentCoupling.
The decisions taken on 2026-10-04 are in its section 2, the three implementation steps in section 7, and the two questions settled after the first draft in section 8.
## Related Links
- [RFC 0002](../rfcs/0002-cohesion-and-coupling.md)
## The Problem
werkcrappit shows how complex and how well tested a method is, but not how well a class holds together or how strongly classes depend on each other.
Adding both is larger than one pull request.
## The Solution
- RFC 0002 proposes LCOM4 for cohesion and Ca/Ce for coupling per top-level class, beside Mutation-CRAP, never mixed into it, with optional limits `maxLcom4` and `maxEfferentCoupling`.
The decisions taken on 2026-10-04 are in its section 2, the three implementation steps in section 7, and the two questions settled after the first draft in section 8.
- Version 0.16.5; no change to the plugins.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Related Links
The Problem
werkcrappit shows how complex and how well tested a method is, but not how well a class holds together or how strongly classes depend on each other.
Adding both is larger than one pull request.
The Solution
maxLcom4andmaxEfferentCoupling.The decisions taken on 2026-10-04 are in its section 2, the three implementation steps in section 7, and the two questions settled after the first draft in section 8.
🤖 Generated with Claude Code