Displaying 1 to 4 from 4 results

detekt - Static code analysis for Kotlin

  •    Kotlin

Meet detekt, a static code analysis tool for the Kotlin programming language. It operates on the abstract syntax tree provided by the Kotlin compiler. Visit https://arturbosch.github.io/detekt/ for installation guides, release notes, migration guides, rule descriptions and configuration options.

gradle-code-quality-tools-plugin - Gradle plugin that generates ErrorProne, Findbugs, Checkstyle, PMD, CPD, Lint, Detekt & Ktlint Tasks for every subproject

  •    Groovy

Gradle plugin that configures Error Prone, Findbugs, Checkstyle, PMD, CPD, Lint, Detekt & Ktlint. All of these tools are also automatically hooked into the check gradle task. Below, I'll go more into depth how each of those plugins are configured. The philosophy of this plugin is to fail early. This means having zero warnings / errors reported from any tools. If you're just getting started with this in a large code base you might not be able to achieve this right away in which case you might want to set failEarly to false and then apply at a finer more granular scope how each tool should behave e.g. checkstyle { ignoreFailures = false }.

kotlin-on-code-quality-tools - Demonstration of Code Quality Tools that are applicable with Kotlin

  •    Kotlin

Writing your own rules is also straight forward and are included in this project. This project was used in a talk for a Kotlin Meetup in Hamburg. Here are the slides.

detekt-intellij-plugin - Detekt plugin for IntelliJ

  •    Kotlin

Integrates detekt, a static code analysis tool for the Kotlin programming language, into IntelliJ. The plugin can be downloaded from the Jetbrains plugin repository.