Lecture
All smells from this group lead to excessive cohesion between classes, or show what happens if tight cohesion is replaced by constant delegation.
Envious features
The method accesses the data of another object more often than its own data.
Inappropriate intimacy
One class uses utility fields and methods of another class.
Call chain
You see in the code a call chain like this $ a-> b () -> c () -> d ()
Mediator
If a class performs one action - delegates work to another class - it is worth considering why it exists at all.
Comments
To leave a comment
Refactoring theory
Terms: Refactoring theory