Class | Roodi::Checks::ControlCouplingCheck |
In: |
lib/roodi/checks/control_coupling_check.rb
|
Parent: | Check |
Checks if a method uses an argument to decide on what execution path to take
It is a kind of duplication, since the caller knows what path should be taken. Also, it means the method has more than one responsibility.