Versions Compared

Key

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

Explanation

This rule counts the number of specializations of an element and reports back an issue when the configured maximum number of specializations per element is exceeded. It is recommended for maintainability purposes to keep the number of specializations of elements below this maximum, otherwise the model is considered to be too complex.check wheter 

Possible improvements

Avoid specializations because they make the model more complex. Consider introducing a new element in the module instead of specializing it.

Parameter

...

.

...

Example

In this model, the value list "Amount" is defined in the "Basic" module and specialized in the "Middle" and "Top" modules. 

...

This results in the following code smell:

Image Modified