The Custom Code Dashboard highlights metrics related to custom Apex and JavaScript code volume, as well as specific issues detected within the code. This dashboard provides insights into code quality, performance, adherence to best practices, and API versioning, enabling effective code management and optimization.
How to use the Custom Code dashboard
- Issue count: Explore a percentage breakdown of issue types found in Apex and JavaScript code, such as documentation errors, performance issues, and code design adherence. Click on an issue type to reveal a detailed chart showing File Counts by that category, aiding in issue prioritization and resolution.
- API Versions Chart: Review the API versions of custom code in the org, grouped for clarity and displaying file counts per version. Use this chart to identify older API versions that require updating for improved performance and compatibility.
- Code Metrics Table: Break down the org's code by type (Aura, Classes, Triggers, LWC) and review aggregate metrics. Drill down using filters on the top bar to obtain more specific insights and analysis.
- Code Issues Table: Use this line-item table to understand each code issue and its properties. Export a comprehensive list of code issues within the org, including relevant details about each issue and the associated code.
â
âđ Hubbl Diagnostics Tip: Regularly update older API versions to enhance performance and ensure compatibility. Refer to Salesforce documentation for more information.