PROGRAMMING LANGUAGES

Tools for every language

Sonar offers a single cohesive solution with a consistent set of metrics and hundreds of static analysis rules to detect your coding issues early. Plus fast and high-precision analysis means high value, low noise, and reliable results always.

A single solution for dozens of popular languages, development frameworks and IaC platforms

  • Java
  • https://assets-eu-01.kc-usercontent.com:443/7630306f-9a2f-018d-2726-3ef76ef712f4/e8a34013-7557-479a-90d3-4a12f5781e49/kotlin-color-padding.svg
  • C Sharp Logo
  • VB Logo
  • C Logo
  • C++ Logo
  • Javascript Logo
  • Typescript Logo
  • PHP Logo
  • Python Logo
  • Terraform Logo
  • Cloudformation Logo
  • Azure Resource Manager icon
  • Docker
  • https://assets-eu-01.kc-usercontent.com:443/7630306f-9a2f-018d-2726-3ef76ef712f4/dd29d45e-18d1-4b28-b0d4-9c62934cc7c5/Kubernetes_mark_color_with-padding.svg
  • https://assets-eu-01.kc-usercontent.com:443/7630306f-9a2f-018d-2726-3ef76ef712f4/f612645e-3b99-49d2-b1e4-05824935ff4d/helm-blue.svg
  • https://assets-eu-01.kc-usercontent.com:443/7630306f-9a2f-018d-2726-3ef76ef712f4/79c0e6cf-af89-4255-b613-89876063f325/Ansible-Color.svg
  • ABAP Logo
  • Apex Logo
  • COBOL Logo
  • https://assets-eu-01.kc-usercontent.com:443/7630306f-9a2f-018d-2726-3ef76ef712f4/99a289c7-3fb7-4ce9-9134-b0103f8042e9/jcl-color-padding.svg
  • https://assets-eu-01.kc-usercontent.com:443/7630306f-9a2f-018d-2726-3ef76ef712f4/b5dec02b-1ec2-4d60-8c83-17f37355c952/CSS-new-color-padding.svg
  • Flex Logo
  • Go Logo
  • HTML5 Logo
  • https://assets-eu-01.kc-usercontent.com:443/7630306f-9a2f-018d-2726-3ef76ef712f4/fb61723d-b25e-4ee6-9964-122d525baa95/obj-c-small.svg
  • PL/I Logo
  • PL/SQL Logo
  • RPG Logo
  • Ruby Logo
  • Scala Logo
  • Swift Logo
  • https://assets-eu-01.kc-usercontent.com:443/7630306f-9a2f-018d-2726-3ef76ef712f4/62f375a1-c400-4477-901f-1a30fe334d37/Dart-color-padding.svg
  • T-SQL Logo
  • VB 6 Logo
  • XML Logo
LEARN AND GROW

Multi-language static analysis

Our powerful language-specific analysis not only detects coding issues but also helps you understand what's wrong and how to fix it. Our publicly available ruleset includes thousands of rules covering various issue categories and language standards.

Explore Sonar Rules
An example of a coding rule is shown from the SonarPedia page. In this example Noncompliant Code is shared along with a Compliant Solution.

尝试更好的编码方式

从开源开始探索所有版本
  • 法律文件
  • 信任中心
  • Follow SonarSource on Twitter
  • Follow SonarSource on Linkedin

© 2008-2024 SonarSource SA。保留所有权利。SONAR、SONARSOURCE、SONARQUBE、 和 CLEAN AS YOU CODE 是 SonarSource SA 的商标。