Skip to main content


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.


Community Driven

detekt is entirely open-source and developed by the community. Join us on GitHub and help us shape the future of this tool.