detekt is a static code analyzer for Kotlin.
This is free and open source software.
Key Features
- Code smell analysis for your Kotlin projects.
- Highly configurable rule sets.
- Generate baselines to suppress existing issues for legacy projects while making sure no new issues are introduced.
- Suppress issues in source files using @Suppress annotations.
- Support for different report formats: HTML, Markdown, SARIF, Checkstyle(XML) and custom reports.
- Extend detekt with custom rule sets and reports.
- Complexity reports based on lines of code, cyclomatic complexity and number of code smells.
- First party integration with Gradle with our Gradle plugin.
- A community of third party plugins that adds more rules and features to detekt.
Website: github.com/detekt/detekt
Support:
Developer: detekt team
License: Apache License 2.0
detekt is written in Kotlin. Learn Kotlin with our recommended free books and free tutorials.
This article was contributed by a visitor who completed this form. Help the site by suggesting new open source software.
Related Software
| Kotlin Linters | |
|---|---|
| ktlint | Kotlin linter with built-in formatter |
| detekt | Static code analysis for Kotlin |
| Konsist | Static code analyzer tailored for Kotlin |
| Ktlint Gradle | Gradle plugin that wires ktlint formatting into builds |
| Kotlinter Gradle | Plugin for linting and formatting |
| faire-detekt-rules | Opinionated detekt rules for cleaner, safer Kotlin code |
| Compose Rules | Static analysis checks that tighten Jetpack Compose quality |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.