Code Smells

Code Smells / Couplers / Middle Man

Middle Man code smell icon

Middle Man

A Middle Man is a class that in responsible, principally, for delegation.

A class with a Middle Man smell increases the complexity of the code without contributing the program’s functionality, as well as allows code to avoid logical flows of data based the relationship between classes.

Left chevron Right chevron