ICTU / sonar

A SonarQube image containing plugins, profiles and config used at ICTU
Apache License 2.0
4 stars 1 forks source link

Add support for a PL/SQL Quality Profile #67

Open denniebouman opened 7 months ago

denniebouman commented 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)

end please ensure every rule ends with a new line character

wkoot commented 7 months ago

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

denniebouman commented 7 months ago

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