Get a deeper understanding of your technical debt with Code Reviews branch scans in Gearset. These scans automate more than 100 checks - many based on Salesforce's Well Architected framework & OWASP top 10 vulnerabilities - so you can better understand the security and quality of your applications.
How to get started
Navigate to https://app.gearset.com/code-reviews.
Choose your VCS type and repository.
Note: this feature is currently supported natively for Github cloud, Github Enterprise cloud, Bitbucket cloud, and Gitlab cloud. For other providers, you'll be routed out to the Code Reviews app until they're supported natively.
Wait for your scan to complete.
Review your results 🎉
You can click into the Code Reviews App to dive in deeper.
Understanding my scan results
Priorities
When you open a scan report, the Priorities tab is the first thing you see. Its header shows the branch or org you're viewing, the date of the last scan with a button to run a new one, an overall score out of 100, and your total issue count broken down by severity (Critical, Error, and Warning).
Below the header, the Highest priority issues section groups your issues into four cards:
Biggest impact issues: the issues contributing most to technical debt across the codebase.
Quick wins: issues that are low effort to fix but still worth addressing.
Security risks: issues with a security implication, regardless of severity level.
Agentforce readiness: issues relevant to preparing your codebase for Agentforce.
Select a card to see its issues in a table. The table lists the rule, metadata type, tags, severity, issue count, and estimated fix effort for each one.
The Priorities tab is a starting point. Use it to decide where to focus before moving to the full, searchable breakdown in the Issues tab. For more on scores, Technical Debt Ratio, and benchmarking
Issues
In the Issues tab, you'll find a detailed breakdown of flagged problems. Each one is assigned a severity level to show its risk and impact on technical debt.
The severity levels are:
Critical: These issues pose significant risks, such as exposing sensitive data or allowing attackers to execute code on your application. They have a high impact on technical debt, require immediate resolution, and block pull requests.
Error: These issues can place the application at risk and contribute to technical debt. Fix them as soon as possible. They also block pull requests.
Warning: These issues have a minor impact on the application and a low rework requirement. They don't block pull requests, but still address them for the best code quality.
This classification helps you focus on the most critical problems while maintaining a clear path to improving overall application health.
Well-Architected policy breakdown
Your scan results also show a tags column. This shows the Salesforce Well-Architected policy linked to each violation, such as Secure or Compliant. Filter by tag to see issues in a specific category. Learn more about the framework at Salesforce Well-Architected.
Fix effort
Fix effort is the estimated time and resources needed to resolve an issue. Gearset measures it in hours or days, based on the issue's severity and complexity. Use fix effort to prioritize tasks, allocate resources, and keep your codebase maintainable.
File explorer
This tab lets you search your file directory and see the issues in a specific file. You can search directly for your business critical flows or classes.
Order by Issues to find the files with the most violations. Use the Fix effort column to weigh quick wins against long-standing technical debt.
Click a file path to open a detailed view of its rule violations. This view lists the rules and every issue flagged for each one.
Expand the sidebar to see where the violation occurs in your codebase, and a timeline of when the issue was introduced, who introduced it, and when Code Reviews detected it.
The sidebar's Explain tab gives a detailed summary of the issue, explains why it matters, and walks you through how to fix it.
Pull requests
The Pull requests tab lists your open pull requests, with scan information for each one.
Search the list to find a pull request. Click one to open its scan results on the pull request screen, the same screen you see for a pull request in Pipelines.


