rspec/rules/S3776/java/rule.adoc
2023-06-16 15:42:52 +02:00

11 lines
446 B
Plaintext

== Why is this an issue?
Cognitive Complexity is a measure of how hard the control flow of a method is to understand. Methods with high Cognitive Complexity will be difficult to maintain.
=== Exceptions
`equals` and `hashCode` methods are ignored because they might be automatically generated and might end up being difficult to understand, especially in the presence of many fields.
include::../resources.adoc[]
include::../rspecator.adoc[]