detekt.
Check Kotlin complexity and code smells
Enable rules appropriate for the Kotlin modules in scope. Track complexity and potential defects with the committed Gradle configuration.
Kotlin
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
VerifiedThe CyclomaticComplexMethod rule names which Kotlin control constructs add to the complexity count and defines a configurable maximum per method.
Measurement
VerifiedThe rule measures independent paths per method against allowedComplexity. A finding means that method exceeded the configured maximum.
Conformance
UnknownNo reviewed evidence is recorded for this dimension.
What would demonstrate a violation? Contribute evidence ↗
CI enforcement
UnknownNo reviewed evidence is recorded for this dimension.
Can a change trigger a useful check? Contribute evidence ↗
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
Run the check with the tool installed and configured for your project.
./gradlew detekt
Agent prompt
Use detekt in this repository to meet this standard: Check Kotlin complexity and code smells. Enable rules appropriate for the Kotlin modules in scope. Track complexity and potential defects with the committed Gradle configuration. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.