Lightlines
By forcedotcom

dx-apexguru-scan

forcedotcom2.4k installs

Find performance problems in your Apex code.

What it does

Scans a Salesforce Apex project's source for performance problems and returns findings with severity, source locations, and suggested fixes.

When to use it

Use when asked to run ApexGuru or find Apex performance and governor-limit antipatterns, not for security scans, general static analysis, or applying fixes.

How to use it

Give it an Apex project; it submits a performance scan and returns the decoded report, using the current directory when no project path is supplied.

What you provide

  • An existing project

Uses

Good to know

  • sends a credential to a server: sid

Latest review

What you need · 4

Requires access to an authorized Salesforce org, normally authenticated through the CLI; a supplied SFAP JWT is an alternative authentication path.

The normal authentication path uses sf to derive the SFAP JWT from an authenticated org; metadata specifies version 2.0.0 or later.


Access · 4

This skill

Salesforce

Write

Uploads Apex source to Salesforce

ApexGuru SFAP Scan API

Execute

Starts an ApexGuru performance scan