ACR Rules

  1. Home
  2. Docs
  3. ACR Rules
  4. Maintainability (28)
  5. Entity should have a maximum of N associations

Entity should have a maximum of N associations

Checks if entity has too many associations
Code size is an important indicator for code complexity and hence maintainability. Too many associations indicate it is difficult in the future to make changes to the architecture for this entity
Add an integer value that constrains the max amount of associations per entity.