detekt/detekt
Static code analysis for Kotlin observed · 2026-08-28
Health v2 · maintenance only
70/100
- Activity 99
- Release rhythm 16
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 165
- age_days: 3601
- days_rel: 558
- days_push: 7
- n_releases_24m: 2
Adoption not part of the score
7034 stars · 868 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
detekt is a static code analysis tool for the Kotlin programming language that detects code smells and enforces configurable rule sets. It ships as a CLI, a first-party Gradle plugin, and an extensible rule engine with report output in HTML, Markdown, SARIF, and Checkstyle XML.
Use cases
- lint kotlin code in a gradle project
- find code smells in my kotlin codebase
- enforce code quality rules in ci for kotlin
- generate a baseline of existing issues for a legacy kotlin project
- write custom static analysis rules for kotlin
- produce sarif reports for code scanning
- measure cyclomatic complexity of kotlin code
When to choose
- you have a Kotlin JVM, Android, Multiplatform, JS, or Native project and want automated code quality checks
- you need configurable lint rules with baselines and suppression support
- you want CI-friendly reports in SARIF, HTML, Markdown, or Checkstyle formats
When to avoid
- your codebase is not Kotlin (use language-specific linters like ESLint, Pylint, or Clippy)
- you need full type-aware IDE inspections only - IntelliJ's built-in inspections may suffice
- you need runtime bug detection or dynamic analysis rather than static analysis
Facets
cli-tool · maturity active
linter developer-tools code-review build-tool developer-tools programming-languages testing jvm cli cross-platform kotlin static-analysis code-smells gradle-plugin code-quality sarif
10 sources
- readme: https://github.com/detekt/detekt · fetched 2026-08-28 · 561df3f69475
- homepage: https://detekt.dev · fetched 2026-08-29 · cbea21402cd8
- site_page: https://detekt.dev/docs/intro · fetched 2026-08-29 · 4128ebee2ace
- site_page: https://detekt.dev/docs/next/intro · fetched 2026-08-29 · 76a24f3d8e1a
- site_page: https://detekt.dev/docs/2.0.0-alpha.5/intro · fetched 2026-08-29 · cb5ff156216c
- site_page: https://detekt.dev/docs/2.0.0-alpha.4/intro · fetched 2026-08-29 · 20c5299df802
- site_page: https://detekt.dev/docs/2.0.0-alpha.3/intro · fetched 2026-08-29 · 0c94c77d23fd
- site_page: https://detekt.dev/docs/2.0.0-alpha.2/intro · fetched 2026-08-29 · 2b9f98a5fc09
- site_page: https://detekt.dev/docs/2.0.0-alpha.1/intro · fetched 2026-08-29 · a4b00005f7a3
- site_page: https://detekt.dev/docs/2.0.0-alpha.0/intro · fetched 2026-08-29 · bc972c6a6ad8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| detekt/detekt | main | 70 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem