Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

detekt

detekt.dev

  • Free plan
  • Windows
  • macOS
  • Linux
7.2 Club score Visit detekt.dev

What detekt is

detekt is a static code analyzer for Kotlin that helps developers identify code smells. It supports Android, JVM, JS, Native, and Multiplatform projects, and runs on Linux, macOS, and Windows. Teams can configure rule sets, create baselines for existing issues, and suppress findings with @Suppress annotations. Reports are available in HTML, Markdown, SARIF, Checkstyle XML, and custom formats; complexity reports can show lines of code, cyclomatic complexity, and code smell counts. The project provides a Gradle plugin and documents builds with Gradle, Maven, and Bazel. Its Gradle plugin requires Gradle 6.8.3 or later. Developers can create custom rule sets through the RuleSetProvider and ServiceLoader pattern, and the project marketplace lists community rules, extensions, and plugins. Installation guidance covers Homebrew, Scoop, SDKMAN, and NixOS. detekt supports autofix, IDE use, and CI. It is free, with no commercial limits stated. Community discussion is linked through Kotlin Slack and Stack Overflow.

Who it suits

detekt suits Kotlin developers and teams who want configurable static analysis across Android, JVM, JS, Native, or Multiplatform projects. It can also fit workflows using Gradle, Maven, or Bazel.

Good to know, and what to watch

  • Free, with no commercial limits stated
  • Supports multiple Kotlin project types
  • Reports include several standard formats
  • Custom rule sets are supported
  • Supports IDE use, CI, and autofix
  • Gradle plugin requires Gradle 6.8.3 or higher
  • No free trial is listed

detekt

Free

Free plan

The verdict

detekt offers configurable Kotlin analysis, reporting, and extension options at no cost. Check its Gradle requirement if using the Gradle plugin.

What the maker publishes

Build integrations
The project provides a Gradle plugin and documents use with Gradle, Maven, and Bazel builds. source
CLI downloads
The CLI installation guide documents Homebrew on macOS, Scoop on Windows, SDKMAN on Unix-like systems, and NixOS installation. source
Community integrations
The project marketplace lists community-built rules, extensions, and plugins, including a GitLab Code Quality reporter and ktlint rule wrappers. source
Community support
The project site links to Kotlin Slack and Stack Overflow for community discussion. source
Complexity reports
detekt can report lines of code, cyclomatic complexity, and code smell counts. source
Extensibility
Developers can add custom rule sets using detekt's RuleSetProvider and ServiceLoader pattern. source
Gradle requirement
The Gradle plugin guide states that detekt requires Gradle 6.8.3 or higher. source
Project types
The site says detekt supports Android, JVM, JS, Native, and Multiplatform projects. source
Purpose
detekt is a static code analyzer for Kotlin that helps identify code smells. source
Reports
Supported report formats include HTML, Markdown, SARIF, Checkstyle XML, and custom reports. source
Rules
Users can configure rule sets, generate baselines for existing issues, and suppress findings with @Suppress annotations. source
Security support
The security policy says patches are applied up to the current minor version and earlier versions are considered case by case. source
Vulnerability reporting
The security policy asks reporters to email [email protected] and says the team commits to respond within two weeks. source

Checked against the maker's pages on 4 Oct 2026.