Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a PL/SQL Quality Profile #67

Open
denniebouman opened this issue Jan 23, 2024 · 2 comments
Open

Add support for a PL/SQL Quality Profile #67

denniebouman opened this issue Jan 23, 2024 · 2 comments

Comments

@denniebouman
Copy link
Member

Add support for a PL/SQL Quality Profile, based on the "Sonar way", with the following rules and configuration:

+types=SECURITY_HOTSPOT,VULNERABILITY # Enable these types by default
+plsql:S125 # Used by Quality-time (https://github.com/ICTU/quality-time/blob/master/docs/METRICS_AND_SOURCES.md#commented-out-code-from-sonarqube)
+plsql:PlSql.FunctionAndProcedureComplexity # Used by Quality-time (https://quality-time.readthedocs.io/en/latest/reference.html#complex-units)
+plsql:S104 # Files should not have too many lines of code. Used by Quality-time
+plsql:S1151 # WHEN clauses should not have too many lines. Used by Quality-time
+plsql:NoSonarCheck # Used by Quality-time to report on suppressed violations (https://quality-time.readthedocs.io/en/latest/reference.html#suppressed-violations)
#end please ensure every rule ends with a new line character

@wkoot
Copy link
Collaborator

wkoot commented Jan 23, 2024

Is this a native-supported profile, and if so, also in community edition, or does it need a plugin?

@denniebouman
Copy link
Member Author

denniebouman commented Jan 23, 2024

Yes, native supported (available starting in developer edition).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants