[source,cobol,diff-id=1,diff-type=noncompliant]
----
IF X = 1
  MOVE A TO B.
  PERFORM SECTION1
ELSE
  IF X > 10
    PERFORM SECTION2
  ELSE                *> Noncompliant
    MOVE A TO B.
    PERFORM SECTION1
  END-IF
END-IF.
----

[source,cobol,diff-id=2,diff-type=noncompliant]
----
EVALUATE X
  WHEN 1
    MOVE A TO B.
    PERFORM SECTION1
  WHEN 2
    MOVE A TO C.
    PERFORM SECTION2
  WHEN 3              *> Noncompliant; duplicates WHEN 1's implementation
    MOVE A TO B.
    PERFORM SECTION1
END-EVALUATE.
----