The following restrictions apply to the code analysis functionality:
if 0 equals 1
display "Unreachable code"
else
display "World"
end-if
ENTRY statements defined through variables are not supported, and the ENTRY's statements will be marked as dead even if they can be called.
working-storage section.
78 entry-name value "my-entry-name".
procedure division.
entry entry-name
display "this is my-entry-name"
goback
.
In the example above, the DISPLAY statement will be marked as dead even if it can be called.