rspec/rules/S3776/java/rule.adoc

11 lines
446 B
Plaintext
Raw Normal View History

== Why is this an issue?
2020-06-30 12:48:39 +02:00
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
2023-06-16 15:42:52 +02:00
`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.
2023-06-16 15:42:52 +02:00
include::../resources.adoc[]
include::../rspecator.adoc[]