Uploaded image for project: 'Rules Repository'
  1. Rules Repository
  2. RSPEC-1172 Unused function parameters should be removed
  3. RSPEC-5208

PL/SQL: Unused procedure and function parameters should be removed

    XMLWordPrintable

    Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Noncompliant Code Example

      CREATE PROCEDURE say_hello(name VARCHAR2) AS -- Noncompliant; name is not used
      BEGIN
        DBMS_OUTPUT.PUT_LINE('Hello World');
      END;
      /
      

      Compliant Solution

      CREATE PROCEDURE say_hello(name VARCHAR2) AS -- Compliant
      BEGIN
        DBMS_OUTPUT.PUT_LINE('Hello ' || name);
      END;
      /
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            alexandre.gigleux Alexandre Gigleux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: