org.sonar.plugins.groovy.profile-sonar-way.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-groovy-plugin Show documentation
Show all versions of sonar-groovy-plugin Show documentation
Enables analysis of Groovy projects.
<profile> <name>Sonar Groovy Way</name> <language>grvy</language> <rules> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.exceptions.CatchErrorRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.exceptions.CatchExceptionRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.exceptions.CatchNullPointerExceptionRule</key> <priority>CRITICAL</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.exceptions.CatchRuntimeExceptionRule</key> <priority>CRITICAL</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.basic.CloneableWithoutCloneRule</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.braces.ElseBlockBracesRule</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.grails.GrailsPublicControllerMethodRule</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.grails.GrailsServletContextReferenceRule</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.grails.GrailsSessionReferenceRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.grails.GrailsStatelessServiceRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.size.NestedBlockDepthRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.concurrency.NestedSynchronizationRule</key> <priority>CRITICAL</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.logging.PrintStackTraceRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.logging.PrintlnRule</key> <priority>MINOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.basic.ReturnFromFinallyBlockRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.concurrency.SynchronizedMethodRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.logging.SystemErrPrintRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.logging.SystemOutPrintRule</key> <priority>INFO</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.concurrency.SystemRunFinalizersOnExitRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.concurrency.ThreadYieldRule</key> <priority>CRITICAL</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.exceptions.ThrowErrorRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.exceptions.ThrowExceptionRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.basic.ThrowExceptionFromFinallyBlockRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.exceptions.ThrowNullPointerExceptionRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.exceptions.ThrowRuntimeExceptionRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.exceptions.ThrowThrowableRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.imports.UnnecessaryGroovyImportRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.imports.UnusedImportRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.unused.UnusedPrivateFieldRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.unused.UnusedPrivateMethodRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.unused.UnusedVariableRule</key> <priority>MAJOR</priority> </rule> <rule> <repositoryKey>grvy</repositoryKey> <key>org.codenarc.rule.concurrency.VolatileLongOrDoubleFieldRule</key> <priority>MAJOR</priority> </rule> </rules> </profile>