class Simplabs::Excellent::Checks::ControlCouplingCheck

This check reports methods that check the value of a parameter to decide which execution path to take. Control Coupling introduces a dependency between the caller and the callee. Any changes to the possible values of the parameter must be reflected at the caller side as well as at the called method.

Applies to