You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to analyse more than one file with a custom rule?
Background:
We have separated our PL/SQL files. There is one file for the package specification and one file for the package body. Now I want to create a rule regarding the hint 'nocopy': If 'nocopy' is set at a parameter in the package specification it should also be set at the parameter in the package body.
Example:
File specification.pks
create or replace package Test authid current_user is
procedure test (clobData in out nocopy clob);
end Test;
File body.pkb
create or replace package body Test is
procedure test (clobData in out clob) is -- Noncompliant - 'nocopy' is missing at parameter 'clobData'
begin
null;
end;
end Test;
Thank you!
The text was updated successfully, but these errors were encountered:
Hi!
Is it possible to analyse more than one file with a custom rule?
Background:
We have separated our PL/SQL files. There is one file for the package specification and one file for the package body. Now I want to create a rule regarding the hint 'nocopy': If 'nocopy' is set at a parameter in the package specification it should also be set at the parameter in the package body.
Example:
File specification.pks
File body.pkb
Thank you!
The text was updated successfully, but these errors were encountered: