Long sequence of outgoing method/function calls detected.

Impact

  • Message Chains are undesirable because they indicate fragility as intermediate dependencies are dependencies in disguise.

Characteristics

  • A function/method calls many functions which internally calls many other functions.

Guidelines

  • It can be beneficial to move a method to a class that contains most of the data used by the method.