org.sonar.l10n.oe.rules.rssw-oe.compiler.warning.15090.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-openedge-plugin Show documentation
Show all versions of sonar-openedge-plugin Show documentation
Enables analysis of OpenEdge projects
The newest version!
This issue is raised whenever the OpenEdge compiler finds code which will never be executed.
Noncompliant Code Example
PROCEDURE Test:
MESSAGE "Test".
RETURN.
MESSAGE "Test2". /* RETURN statement makes this MESSAGE unreachable */
END PROCEDURE.
Compliant Solution
PROCEDURE Test:
MESSAGE "Test".
MESSAGE "Test2".
RETURN.
END PROCEDURE.