Open denniebouman opened 7 months ago
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)
Is this a native-supported profile, and if so, also in community edition, or does it need a plugin?
Yes, native supported (available starting in developer edition).
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