For the complete documentation index, see llms.txt. This page is also available as Markdown.

Groovy

Language-specific information about the way that SonarQube Server supports the analysis of Groovy.

The Groovy analyzer is designed to perform static code analysis on Groovy source code and scripts.

It is compatible with Groovy 4, excluding the incubating features.

Language-specific properties

You can discover and update the Groovy-specific Analysis parameters by going to Administration > Configuration > General Settings > Languages > Groovy.

Test coverage parameters

See Groovy.

In-line suppression of issues

Adding the //NOSONAR comment at the end of the line will suppress all issues on that line.

The check is case-insensitive, so variants like //nosonar also work. Block comments are not supported.

Last updated

Was this helpful?