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.

We estimate that resolving this issue will on average take 5 minutes.

Possible improvement

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

Example

In this model, the same expression is used on several places in this document.

That causes this code smell:

  • No labels