Write Clean RPG

Static code analysis tools for RPG

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

Your passion is RPG, our passion is Clean Code

Sonar static code analysis helps you build secure, maintainable and high-quality RPG code. Covering popular build systems, standards and versions, Sonar elevates your coding standards while keeping dangerous security vulnerabilities at bay.

Sonar and RPG
Code Smarter

Sonar code analysis finds the issues while you focus on the work

It all comes from a powerful static analysis engine that we constantly refine. Sonar employs advanced rules along with smart, exclusive code analysis techniques to find the trickiest, most elusive issues.

See all the RPG rules
code has no issues and is safe to deliver
sonar

Precise static code analysis

Deep static analysis of your code through symbolic execution, path sensitive analysis & cross-function/cross file taint analysis.

lightning

Fast issue resolution

Issue contextualization with secondary locations highlighted and clear remediation guidance helps you understand and construct a fix.

lock

Minimal distractions

Automatic pull request analysis with results displayed in the comments of your favorite DevOps platform so you stay in the zone.

The best way to code RPG better

Produce secure, reliable and maintainable software

Sonar brings Clean Code to where your code lives. Sonar is tightly integrated with your IDE and CI/CD workflow to feed you the right info at the right time and place.

SonarQube for IDE

  • Real‑time, in‑editor feedback highlights issues as you type with inline rule descriptions and guidance. 
  • Contextual help and Quick Fixes accelerate resolution for many issues, directly in your editor. 
  • Connected Mode alignment with SonarQube (Server, Cloud) applies shared quality profiles and settings in the IDE.  
  • Available in IDE marketplaces: Visual Studio, VS Code, JetBrains IDEs, and Eclipse.
Explore SonarQube for IDE
sonar working with jetbrains, eclipse, vs and vs code

We support your RPG analysis workflow

Start cleaning your RPG now

Self-managedSaaS
  • Suivez SonarSource sur Twitter
  • Suivez SonarSource sur Linkedin
language switcher
Français (French)
  • Documentation juridique
  • Trust Center

© 2008-2024 SonarSource SA. Tous droits réservés. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD et CLEAN AS YOU CODE sont des marques déposées de SonarSource SA.