The Best Kotlin Static Analysis Tools (Linters/Formatters)
We rank 27 Kotlin linters, code analyzers, formatters, and more. Find and compare tools like Mega-Linter, Sonatype, SonarQube, and more. Please rate and review tools that you've used. This helps others find the best tools for their projects.
4 Kotlin Tools
ktfmt
A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions. A ktfmt IntelliJ plugin is available from the plugin repository. To install it, go to your IDE's settings and select the Plugins category. Click the Marketplace tab, search for the ktfmt plugin, and click the Install button.
23 Multi-Language Tools
Mega-Linter
Mega-Linter can handle any type of project thanks to its 70+ embedded Linters, its advanced reporting, runnable on any CI system or locally, with assisted installation and configuration, able to apply formatting and fixes
Sonatype
Reports known vulnerabilities in common dependencies and recommends updated packages to minimize breaking changes
CodeScene
CodeScene is a quality visualization tool for software. Prioritize technical debt, detect delivery risks, and measure organizational aspects. Fully automated.
Better Code Hub
Better Code Hub checks your GitHub codebase against 10 engineering guidelines devised by the authority in software quality, Software Improvement Group.
Find Security Bugs
The SpotBugs plugin for security audits of Java web applications and Android applications. (Also work with Kotlin, Groovy and Scala projects)
Android Studio
Based on IntelliJ IDEA, and comes bundled with tools for Android including Android Lint.
Kiuwan
Identify and remediate cyber threats in a blazingly fast, collaborative environment, with seamless integration in your SDLC. Python, C\C++, Java, C#, PHP and more.
Sigrid
Sigrid helps you to improve your software by measuring your system's code quality, and then compares the results against a benchmark of thousands of industry systems to give you concrete advice on areas where you can improve.
Upsource
Code review tool with static code analysis and code-aware navigation for Java, PHP, JavaScript and Kotlin.
ClassGraph
A classpath and module path scanner for querying or visualizing class metadata or class relatedness.
SonarCloud
Multi-language cloud-based static code analysis. History, trends, security hot-spots, pull request analysis and more. Free for open source.
StaticReviewer
Static Reviewer executes code checks according to the most relevant Secure Coding Standards, OWASP, CWE, CVE, CVSS, MISRA, CERT, for 40+ programming languages, using 1000+ built-in validation rules for Security, Deadcode & Best Practices Available a module for Software Composition Analysis (SCA) to find vulnerabilities in open source and third party libraries.
TencentCodeAnalysis
Tencent Cloud Code Analysis (TCA for short, code-named CodeDog inside the company early) is a comprehensive platform for code analysis and issue tracking. TCA consist of three components, server, web and client. It integrates of a number of self-developed tools, and also supports dynamic integration of code analysis tools in various programming languages.
emerge
Emerge is a source code and dependency visualizer that can be used to gather insights about source code structure, metrics, dependencies and complexity of software projects. After scanning the source code of a project it provides you an interactive web interface to explore and analyze your project by using graph structures.
ShiftLeft Scan
Scan is a free open-source DevSecOps platform for detecting security issues in source code and dependencies. It supports a broad range of languages and CI/CD pipelines.
Embold
Intelligent software analytics platform that identifies design issues, code issues, duplication and metrics. Supports Java, C, C++, C#, JavaScript, TypeScript, Python, Go, Kotlin and more.
Help make this list better
Suggest Tools
Frequently Asked Questions
What are Kotlin tools?
Kotlin is a statically typed programming language that runs on the Java virtual machine and also can be compiled to JavaScript. Kotlin was created by JetBrains, a company best known for creating the IntelliJ IDEA integrated development environment (IDE). Kotlin is designed to interoperate with Java code and libraries, but also can be used for standalone applications.
What are the best Kotlin static analysis tools and linters?
The most popular Kotlin tools ranked by user votes are: Mega-Linter, Sonatype, SonarQube, CodeScene, diktat.
Which Kotlin tools are free to use?
Tools with a free plan include Better Code Hub, Codiga, Embold. On top of that, there are also a number of open source like Mega-Linter, Sonatype, SonarQube, diktat, callGraph, ArchUnit, detekt, ktlint, Find Security Bugs, Android Studio.