
org.sonar.l10n.plsqlopen.rules.plsql.DeadCode.html Maven / Gradle / Ivy
The newest version!
Jump statements (return
, exit
, continue
, and raise
) move control flow out of the current code block.
Typically, any statements in a block that come after a jump are simply wasted keystrokes lying in wait to confuse the unwary.
Noncompliant Code Example
begin
raise my_error;
log('finished'); -- this code will never be executed
end;
Compliant Solution
begin
raise my_error;
end;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy