Static code analysis tools for your Kotlin
Utilize static code analysis to find issues in Kotlin such as bugs, code smells & security vulnerabilities. Use the Sonar language analyzer with hundreds of rules to evaluate your code and ensure the security, reliability and maintainability of your software.

TRUSTED BY OVER 7M DEVELOPERS WORLDWIDE
Fast
Try the fastest Kotlin analysis and spend more time fixing errors than waiting for your pipeline
Secure mobile
Catch security-sensitive configuration issues before the Android application gets deployed to the PlayStore
Latest version support
Learn shiny new features with the analyzer being updated for each Kotlin version. Includes support for Kotlin Multiplatform.
Own the security of your Kotlin code
Dedicated static analysis rules to detect vulnerabilities including ones stemming from OWASP & CWE Top 25 guidelines.

SonarQube code analysis finds issues while you focus on the work
It all comes from a powerful static analysis engine that we constantly refine. SonarQube Server and Cloud employ advanced rules along with smart, exclusive static code analysis techniques to find the trickiest, most elusive issues, code smells, and security vulnerabilities.
Precise static analysis
Deep static analysis of your code through symbolic execution, path sensitive analysis & cross-function/cross file taint analysis.
Fast issue resolution
Issue contextualization with secondary locations highlighted and clear remediation guidance helps you understand and construct a fix.
Minimal distractions
Automatic pull request analysis with results displayed in the comments of your favorite DevOps platform so you stay in the zone.
Produce secure, reliable and maintainable software
Sonar brings Code Quality to where your code lives. Sonar is tightly integrated with your CI/CD workflow to feed you the right info at the right time and place.
Kotlin linting in your IDE
SonarQube for IDE in your IDE is your first line of defense for keeping the Kotlin code you write today clean and secure. Issues are raised in-line with clear rule descriptions and guidance.
With SonarQube for IDE, the impact is immediate and no configuration is required. You learn from the real-time feedback provided and quickly resolve issue with contextual guidance and automatic Quick Fixes!
SonarQube for IDE is available from your IDE marketplace:
Visual Studio | VS Code | JetBrains | Eclipse

Kotlin in your cloud workflow
Automatically analyze Pull Requests and feature branches with the results decorated in the DevOps platform of your choice.
Your team can share rule configurations and exclusions across projects and coalesce on a shared definition of excellence. The project Quality Gate is visible to everyone and the releasabity status is clear.
SonarQube Cloud tightly integrates with:
GitHub | Bitbucket | Azure DevOps | GitLab

We support your Kotlin development workflow
Language Versions
Kotlin 1.3 to 2.2 including the K2 compiler
Application Domains
Web Applications, Mobile (Android)
Vulnerability Detection Domains
Cryptography, unsecured network communication, authentication and session management
Security Standards
OWASP Mobile AppSec Verification Standard (MASVS)
Complex Development Domains
Coroutines, Regular Expressions
External Linters
ktlint, AndroidLint, Detekt