# 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.

Category: Code quality
Languages: Groovy

## Standard evidence

Rubric v1 · 3/8 verified · 5 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — Size and complexity rules set explicit limits for Groovy methods and classes. Configurable maximums determine when a violation is reported. Reviewed 2026-11-28. [Source](https://codenarc.org/codenarc-rules-size.html)
- **Measurement** (verified) — The CodeNarc CLI accepts a ruleset and source scope and emits a report in selectable formats, including structured output. Reviewed 2026-11-28. [Source](https://codenarc.org/codenarc-command-line.html)
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
- **CI enforcement** (verified) — Gradle's CodeNarc plugin attaches analysis to the check lifecycle and exposes per-priority violation limits that can fail the build. Reviewed 2026-11-28. [Source](https://docs.gradle.org/current/userguide/codenarc_plugin.html)
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

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.

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://codenarc.org/)
- [Agent skill](/skills/codenarc/SKILL.md)
