Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix catagorization of guideline severties. #200

Closed
Assignees
PhilippSalvisberg
Labels
enhancementNew feature or request
Milestone
@PhilippSalvisberg

Description

@PhilippSalvisberg

In the talkFighting Bad PL/SQL & SQL I categorised the violations of the following guidelines as bugs:

IdTitleSeverity in 4.2
G-1080Avoid using the same expression on both sides of a relational comparison operator or a logical operator.Minor
G-2150Avoid comparisons with NULL value, consider using IS [NOT] NULL.Blocker
G-3185Never use ROWNUM at the same query level as ORDER BY.Major
G-4230Always use a COALESCE instead of a NVL command, if parameter 2 of the NVL function is a function call or a SELECT statement.Critical
G-4250Avoid using identical conditions in different branches of the same IF or CASE statement.Major
G-5080Always use FORMAT_ERROR_BACKTRACE when using FORMAT_ERROR_STACK or SQLERRM.Minor
G-7810Never use SQL inside PL/SQL to read sequence numbers (or SYSDATE)Major
G-9010Always use a format model in string to date/time conversion functions.Major

Bugs are a blocker IMO. Hence all these guidelines should be blocker according toSeverity of a rule. G-4230 is an exception since the violation does not lead to a wrong result, just to slower execution. Hence "critical" is an acceptable severity in this case. For a similar reason, G-5080, G-7810 should be changed to "critical" and not "blocker".

It's probably a good idea to check the severity of all guidelines and amend them if necessary.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp