Safe(r) Kotlin Code - Static Analysis Tools for Kotlin
summary
Shows how Kotlin-specific analyzers work and what to pick: detekt for configurable bug, complexity and style rules, ktlint for zero-config formatting with an autofixer, and Android Lint for cross-Java/Kotlin checks using the UAST. Explains detectors that walk the AST (example rule forbidding import android.util.Log), type resolution limits, Gradle/CI integration, IntelliJ plugins, XML reports, and using a baseline to ignore an initial spike (example 8,000 issues) while only failing builds on new or high-severity findings.
AI-written summary · about
chapters (8)
- 0:00Introduction to static analysis
- 4:38Tooling overview
- 11:04Specific Kotlin tools
- 15:19Managing analysis results
- 20:27Baseline and configuration
- 24:22Internal mechanics
- 34:02Extending static analysis
- 40:47Conclusion








