Detekt is a static code analysis tool for the Kotlin programming language. It reports code smells and complexity issues, and is configurable and extensible through rule sets.
sdk install detekt