Jump statements (return, break and continue) and throw expressions move control flow out of the current code block. Typically, any statements in a block that come after a jump or throw are simply wasted keystrokes lying in wait to confuse the unwary.
fun(a) {
var i = 10;
return i + a; // Noncompliant
i++; // this is never executed
}
int fun(int a) {
int i = 10;
return i + a;
}