About RPG Metrics
RPG Metrics helps IBM i developers and teams understand the quality, complexity, and maintainability of RPG source code.
The recommended beta workflow is the IBM i Agent. The agent runs on your IBM i, scans RPG source locally, generates the XLSX report locally, and sends calculated metrics only to the RPG Metrics dashboard when dashboard sync is enabled.
How it works:
- ✅ RPG source is scanned locally on IBM i using the IBM i Agent.
- ✅ The XLSX report is generated locally and remains on IBM i.
- ✅ Dashboard sync is optional.
- ✅ When dashboard sync is enabled, only calculated metrics are sent to RPG Metrics.
- ✅ Source code does not need to be uploaded to the web application.
Your Data:
RPG Metrics is designed around a local-first model for IBM i source analysis. Your RPG source can stay inside your IBM i environment. The agent calculates metrics locally, and the dashboard stores calculated metrics only when sync is enabled.
Local-only use is also supported. In local-only mode, the agent creates a basic XLSX report on IBM i without sending metrics to the dashboard.
Supported Metrics:
- Cyclomatic Complexity
- Maintainability Index
- Comment Line Percentage
- Total, executable, comment, and blank line counts
- RPG Free compatibility counts
- Cyclomatic complexity hotspots
- Procedure and subroutine counts
IBM i Agent Beta:
The IBM i Agent beta package is available to selected users. During beta, all available agent features are enabled so the local scanning, local reporting, dashboard sync, and team workflow can be tested end-to-end.
To request the IBM i Agent beta package, log in or create an account, then use the Feedback button.
Whether you're modernizing legacy RPG, planning a move toward free-format code, or monitoring quality during change control promotions, RPG Metrics helps surface code quality issues earlier.