The word Or in element name

Written by

in

Description

‘The word Or in element name’ derived from a BPM anti-pattern “`OR` between verbs”. It occurs when an elements name consists of multiple significant verbs separated by the word “or“.

Context

Derived from: “‘OR’ between verbs”

Cause

A single responsibility has been split up among a large number of classes. This can happen after overzealous reduction of Multifaceted Abstraction. All was well as long as the structure stayed small. But with new components being added, making changes has become harder and harder.

Consequences

The information about the decision is missing and therefore leaving room for interpretation.

Detection

For detection in ArchiMate, we looking at elements with an “OR” between two or more verbs.

Solution

Use junctions to model the decision making.

Example

Consider an element with name “execute x or y”, which is not followed by an OR Junction. This behavior may lead to misunderstanding or misinterpretation because the decision information about when which function should be executed is missing.

Cypher query

MATCH p = (a)-->(b) <br /> WHERE toLower(a.name) contains toLower(" or ") and b.ClassName <>'Junction'<br /> RETURN p

Cypher count query

MATCH p = (a)-->(b) <br /> WHERE toLower(a.name) contains toLower(" or ") and b.ClassName <>'Junction'<br /> RETURN count(DISTINCT a)

Diagram

Diagram for The word Or in element name

Tags

Understandability Problems, Process

All smells