Skip to content

Add Distance of Coupling (DoC) metric#573

Closed
selutin99 wants to merge 1 commit intocqfn:masterfrom
selutin99:doc
Closed

Add Distance of Coupling (DoC) metric#573
selutin99 wants to merge 1 commit intocqfn:masterfrom
selutin99:doc

Conversation

@selutin99
Copy link
Contributor

@selutin99 selutin99 commented Jan 6, 2026

This PR introduces a new code quality metric Distance of Coupling (DoC)

Changes:

  • Extended OpsOf to count additional bytecode operations required for DoC calculation
  • Added DoC metric configuration to the XSL metrics setup
  • Integrated DoC into the existing metrics evaluation pipeline

References:
Yegor Bugayenko, Distance of Coupling
https://www.yegor256.com/2020/10/27/distance-of-coupling.html

@selutin99 selutin99 marked this pull request as draft January 6, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant