Squid:S2583: Java : Conditionally executed blocks should be reachable
So if there is a block of code that is not reachable means it is a dead code and that piece of code should be removed.
Noncompliant Code Example
a = false;
if (a) { // Noncompliant
doSomething(); // never executed
}
if (!a || b) { // Noncompliant;...
hashcodehub.hashnode.dev1 min read