S104 — Files should not have too many lines of code

Language
C#
Type
Code smell
Severity
Major
Tags
brain-overload

Why is this an issue?

When a source file grows too much, it can accumulate numerous responsibilities and become challenging to understand and maintain.

Above a specific threshold, refactor the file into smaller files whose code focuses on well-defined tasks. Those smaller files will be easier to understand and test.

↑ Back to top