[source,java]
----
if (condition)
  firstActionInBlock();
  secondAction();  // Noncompliant: secondAction is executed unconditionally
thirdAction();
----

[source,java]
----
if (condition) firstActionInBlock(); secondAction();  // Noncompliant: secondAction is executed unconditionally
----

[source,java]
----
if (condition) firstActionInBlock();
  secondAction();  // Noncompliant: secondAction is executed unconditionally
----

[source,java]
----
if (condition); secondAction();  // Noncompliant: secondAction is executed unconditionally
----

[source,java]
----
for (int i = 0; i < array.length; i++) 
  str = array[i];
  doTheThing(str);  // Noncompliant: executed only on the last element
----
