A static code analyzer for Kotlin
Your companion for cleaner Kotlin
Detekt helps you write cleaner Kotlin code so you can focus on what matters the most building amazing software.
Integrate in any project
Detekt comes with a set of plugins that helps you configure it easily in your Gradle, Maven, Bazel, ... build. Enjoy static analysis on Android, JVM, JS, Native and Multiplatform projects out of the box.
Easy to extend
Detekt can be easily extended with custom rules that helps you track and fix anti-patterns in your codebase.
Detekt is entirely open-source and developed by the community. Join us on Github and help us shape the future of this tool.