[source,java]
----
if (b == 0) {  // Noncompliant
  doOneMoreThing();
} else {
  doOneMoreThing();
}

int b = a > 12 ? 4 : 4;  // Noncompliant

switch (i) {  // Noncompliant
  case 1: 
    doSomething();
    break;
  case 2: 
    doSomething();
    break;
  case 3:
    doSomething(); 
    break;
  default: 
    doSomething();
}
----
