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

G-1050: Make guideline less strict by using a threshold parameter #180

Closed
Assignees
PhilippSalvisberg
Labels
enhancementNew feature or request
Milestone
@PhilippSalvisberg

Description

@PhilippSalvisberg

As mentioned in#179, the guideline is too strict IMO. SonarSource defines a similar ruleplsql:S1192 - String literals should not be duplicated. For this rule athreshold can be defined as parameter.

I like the idea of using parameters in rules. This concept can be applied in various rules (for example to configure the prefix and suffix for naming conventions).

We should start to introduce the the concept of parameters in the guidelines. In this case athreshold with the meaningNumber of times a literals must be duplicated to trigger an issue. The default will be0 will be identical to the current behavior. The db* CODECOP tool suite needs to be enhanced to support this threshold. This gives the users a better option than disabling to complete guideline.

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