rspec/rules/S104/rule.adoc
2023-06-08 08:24:50 +00:00

6 lines
355 B
Plaintext

== Why is this an issue?
A source file that grows too much tends to aggregate too many responsibilities and inevitably becomes harder to understand and, therefore, to 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 easier to test.