rspec/rules/S2042/swift/rule.adoc
2021-06-02 20:44:38 +02:00

12 lines
504 B
Plaintext

A class that grows too much tends to aggregate too many responsibilities, and inevitably becomes harder to understand and to maintain. Above a specific threshold, it is strongly advised to refactor the class into smaller ones which focus on well-defined topics.
This rule raises an issue when classes, structs, or enums have more than the allowed number of lines.
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::rspecator-view[]