Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Explanation

This rule detects duplicate expressions per module, considering all modules in scope. This is an indication that expressions have to be maintained in multiple places which is bad for maintainability reasons.

Possible solutions

Duplicate expressions cause maintainability issues in your model, as changes in your business rules have to be implemented in several locations. Think about making reusable expressions or storing the result in an attribute.