Rules with fixing time Local-medium
Local changes in a few locations. For example fix overladed local variable.
-
G-1010 Try to label your sub blocks.Minor Maintainability
-
G-1030 Avoid defining variables that are not used.Minor Maintainability
-
G-1040 Avoid dead code.Minor Maintainability
-
G-1050 Avoid using literals in your code.Minor Maintainability
-
G-1070 Avoid nesting comment blocks.Minor Maintainability
-
G-1080 Avoid using the same expression on both sides of a relational comparison operator or a logical operator.Blocker Maintainability
-
G-2110 Try to use anchored declarations for variables, constants and types.Major Reliability
-
G-2120 Try to have a single location to define your types.Minor Maintainability
-
G-2130 Try to use subtypes for constructs used often in your code.Minor Maintainability
-
G-2135 Avoid assigning values to local variables that are not used by a subsequent statement.Major Reliability
-
G-2145 Never self-assign a variable.Blocker Maintainability
-
G-2170 Never overload variables.Major Maintainability
-
G-2190 Avoid using ROWID or UROWID.Blocker Reliability
-
G-2210 Avoid declaring NUMBER variables, constants or subtypes with no precision.Critical Reliability
-
G-2220 Try to use PLS_INTEGER instead of NUMBER for arithmetic operations with integer values.Critical Reliability
-
G-2230 Try to use SIMPLE_INTEGER datatype when appropriate.Critical Reliability
-
G-2310 Avoid using CHAR data type.Blocker Reliability
-
G-2410 Try to use boolean data type for values with dual meaning.Minor Maintainability
-
G-2510 Avoid using the LONG and LONG RAW data types.Major Maintainability
-
G-2610 Never use self-defined weak ref cursor types.Minor Maintainability
-
G-3110 Always specify the target columns when coding an insert statement.Blocker Reliability
-
G-3115 Avoid self-assigning a column.Blocker Maintainability
-
G-3140 Try to use anchored records as targets for your cursors.Major Reliability
-
G-3182 Always specify column names/aliases instead of positional references in GROUP BY clauses.Blocker Reliability
-
G-3183 Always specify column aliases instead of expressions in GROUP BY clauses.Minor Maintainability
-
G-3195 Always use wildcards in a LIKE clause.Blocker Maintainability
-
G-3310 Never commit within a cursor loop.Blocker Reliability
-
G-4120 Avoid using %NOTFOUND directly after the FETCH when working with BULK OPERATIONS and LIMIT clause.Blocker Reliability
-
G-4130 Always close locally opened cursors.Blocker Reliability
-
G-4140 Avoid executing any statements between a SQL operation and the usage of an implicit cursor attribute.Blocker Reliability
-
G-4220 Try to use CASE rather than DECODE.Major Maintainability
-
G-4240 Always use a CASE instead of a NVL2 command if parameter 2 or 3 of NVL2 is either a function call or a SELECT statement.Critical Reliability
-
G-4250 Avoid using identical conditions in different branches of the same IF or CASE statement.Blocker Maintainability
-
G-4320 Always label your loops.Minor Maintainability
-
G-4325 Never reuse labels in inner scope.Major Maintainability
-
G-4365 Never use unconditional CONTINUE or EXIT in a loop.Major Maintainability
-
G-4370 Avoid using EXIT to stop loop processing unless you are in a basic loop.Major Maintainability
-
G-4375 Always use EXIT WHEN instead of an IF statement to exit from a loop.Minor Maintainability
-
G-4380 Try to label your EXIT WHEN statements.Minor Maintainability
-
G-4385 Never use a cursor for loop to check whether a cursor returns data.Critical Maintainability
-
G-4387 Never use a FOR LOOP for a query that should return not more than one row.Blocker Reliability
-
G-4390 Avoid use of unreferenced FOR loop indexes.Major Reliability
-
G-4395 Avoid hard-coded upper or lower bound values with FOR loops.Minor Maintainability
-
G-5010 Try to use a error/logging framework for your application.Critical Reliability
-
G-5020 Never handle unnamed exceptions using the error number.Critical Maintainability
-
G-5040 Avoid use of WHEN OTHERS clause in an exception section without any other specific handlers.Critical Reliability
-
G-5060 Avoid unhandled exceptions.Major Reliability
-
G-5070 Avoid using Oracle predefined exceptions.Blocker Reliability
-
G-5080 Always use FORMAT_ERROR_BACKTRACE when using FORMAT_ERROR_STACK or SQLERRM.Critical Maintainability
-
G-6010 Always use a character variable to execute dynamic SQL.Major Maintainability
-
G-6020 Try to use output bind arguments in the RETURNING INTO clause of dynamic DML statements rather than the USING clause.Minor Maintainability
-
G-7110 Try to use named notation when calling program units.Major Maintainability
-
G-7140 Always ensure that locally defined procedures or functions are referenced.Major Maintainability
-
G-7150 Try to remove unused parameters.Major Maintainability
-
G-7160 Always explicitly state parameter mode.Major Reliability
-
G-7170 Avoid using an IN OUT parameter as IN or OUT only.Major Reliability
-
G-7220 Always use forward declaration for private functions and procedures.Minor Maintainability
-
G-7250 Never use RETURN in package initialization block.Major Reliability
-
G-7320 Avoid using RETURN statements in a PROCEDURE.Major Maintainability
-
G-7330 Always assign values to OUT parameters.Blocker Maintainability
-
G-7450 Never return a NULL value from a BOOLEAN function.Blocker Maintainability
-
G-7460 Try to define your packaged/standalone function deterministic if appropriate.Major Reliability
-
G-7720 Never use multiple UPDATE OF in trigger event clause.Blocker Maintainability
-
G-7910 Never use DML within a SQL macro.Blocker Reliability
-
G-8310 Always validate input parameter size by assigning the parameter to a size limited variable in the declaration section of program unit.Minor Maintainability
-
G-8510 Always use dbms_application_info to track program process transiently.Critical Reliability
-
G-9010 Always use a format model in string to date/time conversion functions.Blocker Security
-
G-9020 Try to use a format model and NLS_NUMERIC_CHARACTERS in string to number conversion functions.Critical Reliability
-
G-9030 Try to define a default value on conversion errors.Major Maintainability
-
G-9040 Try using FX in string to date/time conversion format model to avoid fuzzy conversion.Blocker Reliability
-
G-9501 Never use parameter in string expression of dynamic SQL. Use asserted local variable instead.Blocker Security
-
G-9600 Never define more than one comment with hints.Critical Reliability
-
G-9601 Never use unknown hints.Critical Reliability
-
G-9602 Always use the alias name instead of the table name.Critical Reliability
-
G-9603 Never reference an unknown table/alias.Critical Reliability
-
G-9604 Never use an invalid stats method.Critical Reliability
-
G-9605 Never use an invalid stats keyword.Critical Reliability
-
A-0990 New Always name buttons in uppercase.Minor Maintainability
-
A-1080 New Avoid defining CSS inline at page level.Minor Maintainability
-
A-1130 Always follow naming conventions for page items.Minor Maintainability
-
A-1400 New Never keep the default name New for components.Minor Maintainability
-
A-3100 New Avoid LOV items on single-column Interactive Grid primary keys.Minor Maintainability
82 total