Groovy-specific features and guidance
Table of Contents
Apache Groovy is a powerful, optionally typed and dynamic language, with static-typing and static compilation capabilities, for the Java platform aimed at improving developer productivity thanks to a concise, familiar and easy to learn syntax.
Language Info for Groovy
- Since PMD 5.5.2
- Implementation:
GroovyLanguageModule
- Id: groovy
- PMD: ❌
- CPD: ✔️
Support in PMD
Groovy support was added with PMD 5.5.2. With PMD 7.0.0, support for Groovy 3 and 4 was added.
Since PMD 7.0.0, the Groovy module supports suppression through CPD-ON
/CPD-OFF
comment pairs.
Limitations
- Support for Groovy only extends to CPD to detect code duplication.