org.sonar.plugins.groovy.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> <check> <repository>grvy</repository> <template>org.codenarc.rule.basic.BooleanInstantiationRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.exceptions.CatchErrorRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.exceptions.CatchExceptionRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.exceptions.CatchNullPointerExceptionRule</template> <priority>CRITICAL</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.exceptions.CatchRuntimeExceptionRule</template> <priority>CRITICAL</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.basic.CloneableWithoutCloneRule</template> <priority>MINOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.braces.ElseBlockBracesRule</template> <priority>MINOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.grails.GrailsPublicControllerMethodRule</template> <priority>MINOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.grails.GrailsServletContextReferenceRule</template> <priority>MINOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.grails.GrailsSessionReferenceRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.grails.GrailsStatelessServiceRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.size.NestedBlockDepthRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.concurrency.NestedSynchronizationRule</template> <priority>CRITICAL</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.logging.PrintStackTraceRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.logging.PrintlnRule</template> <priority>MINOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.basic.ReturnFromFinallyBlockRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.basic.StringInstantiationRule</template> <priority>MINOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.concurrency.SynchronizedMethodRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.logging.SystemErrPrintRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.logging.SystemOutPrintRule</template> <priority>INFO</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.concurrency.SystemRunFinalizersOnExitRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.concurrency.ThreadYieldRule</template> <priority>CRITICAL</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.exceptions.ThrowErrorRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.exceptions.ThrowExceptionRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.basic.ThrowExceptionFromFinallyBlockRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.exceptions.ThrowNullPointerExceptionRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.exceptions.ThrowRuntimeExceptionRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.exceptions.ThrowThrowableRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.imports.UnnecessaryGroovyImportRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.basic.UnnecessaryTernaryExpressionRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.imports.UnusedImportRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.unused.UnusedPrivateFieldRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.unused.UnusedPrivateMethodRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.unused.UnusedVariableRule</template> <priority>MAJOR</priority> </check> <check> <repository>grvy</repository> <template>org.codenarc.rule.concurrency.VolatileLongOrDoubleFieldRule</template> <priority>MAJOR</priority> </check> </profile>