ACR Rules

⌘K
  1. Home
  2. Docs
  3. ACR Rules
  4. Architecture (16)
  5. Associations should only rarely be cross-module

Associations should only rarely be cross-module

This rule checks if the module domain is encapsulated according to your standards.
If you have a low module encapsulation percentage, it can mean that it’s better to move entities from a domain model or split up an entire module since they are used more often elsewhere. Also it says something about your application as a whole. This percentage is calculated as the ratio between cross domain accociations to all associations.
Add a percentage of the minimum encapsulation (cross-associations opposed to internal associations)