Why is this an issue?
Merging collapsible if
statements increases the code’s readability.
Noncompliant code example
If condition1 Then
If condition2 Then ' Noncompliant
' ...
End If
End If
Compliant solution
If condition1 AndAlso condition2 Then
' ...
End If