God Class Smell

Back to Code Smells

A class that knows too much or does too much. God classes violate the Single Responsibility Principle, accumulating responsibilities until they become a maintenance nightmare. The refactoring is usually Extract Class — split into focused classes.

property refactoring god-class