You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The rule AvoidDeeplyNestedIfStmts feels really random compared to the several other complexity rules we have (CyclomaticComplexity, NPathComplexity, soon CognitiveComplexity #3293). There's no proper justification for how it works, it just cares about if statements (and not if/else statements, or nesting of other statements). I think it's really superfluous.
Describe the solution you'd like Deprecate and remove AvoidDeeplyNestedIfStmts. Hint at using one of the other complexity rules.
Describe alternatives you've considered find a satisfactory definition and justification for the rule, but this feels like a waste of time given the other existing rules.
Activity
[-]Deprecate AvoidDeeplyNestedIfStmts[/-][+][java] Deprecate AvoidDeeplyNestedIfStmts[/+]