CodeNarc.
Check Groovy code against selected rules
Choose the Groovy rulesets that apply to application code and build scripts. Store file-level findings with rule identifiers and review each new violation.
Groovy
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
VerifiedSize and complexity rules set explicit limits for Groovy methods and classes. Configurable maximums determine when a violation is reported.
Measurement
VerifiedThe CodeNarc CLI accepts a ruleset and source scope and emits a report in selectable formats, including structured output.
Conformance
UnknownNo reviewed evidence is recorded for this dimension.
What would demonstrate a violation? Contribute evidence ↗
CI enforcement
VerifiedGradle's CodeNarc plugin attaches analysis to the check lifecycle and exposes per-priority violation limits that can fail the build.
Getting started
UnknownNo reviewed evidence is recorded for this dimension.
Can a newcomer complete a first run? Contribute evidence ↗
Real-world adoption
UnknownNo reviewed evidence is recorded for this dimension.
Has another team put it to work? Contribute evidence ↗
Agent guidance
UnknownNo reviewed evidence is recorded for this dimension.
Can an agent act on a specific finding? Contribute evidence ↗
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Does the practice work in two agent harnesses? Contribute evidence ↗
Use this standard
Agent prompt
Use CodeNarc in this repository to meet this standard: Check Groovy code against selected rules. Choose the Groovy rulesets that apply to application code and build scripts. Store file-level findings with rule identifiers and review each new violation. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.