You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Explanation

This rule detects condition nodes without a label. Every condition node should be labeled with the condition in order to have readable and maintainable flows.  

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

Possible improvement

Condition nodes without a label have a negative impact on the readablity and maintainablity of the flows since all nodes in the flow should have descriptive names. In case of the condition node the main node should pose a question, while every alternative edge should pose an anwser to that question. 

Example

This flow contains a condition node where no label is present. It is unclear what kind of decision is represented by the node.

This flow results in the following code smell:

  • No labels