All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 - 2024 Weber Informatics LLC | Privacy Policy