# Smells of Size: The Long Method and the Class That Does Everything

When one method or class keeps every job that was ever added to it, nothing inside can be reused or tested on its own, and a new feature means copying part of it; the smells of size come from jobs that were never given names, and the plainest cure, pulling out a method, gives them one.

![Cheat sheet: Smells of Size: The Long Method and the Class That Does Everything](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/566279f385a848db9d8f8559f8e35072.webp)

- Category: Data Structures
- Level: Journeyman
- Tags: Extract Method, God Object, Long Method, OOP, Single Responsibility Principle, software-development
- Author: Gregor Dzierzon
- Updated: November 17, 2026

Source: https://www.ask-codey.com/cheat-sheets/dp-smells-of-size-cheat-sheet
