
Salesforce Code Analyzer and PMD: Scan Apex for Security Issues
Salesforce Code Analyzer is a free scanner that reads your Apex, Lightning, Visualforce and Flow code and reports security and quality problems before they…
Topic

Salesforce Code Analyzer is a free scanner that reads your Apex, Lightning, Visualforce and Flow code and reports security and quality problems before they…

Apex Secure Coding means writing Apex, Visualforce and Lightning code that attackers cannot trick into leaking or changing data. Sharing, CRUD and FLS protect…

Apex Managed Sharing lets your code give a user or group access to a record when sharing rules cannot express the rule. For example,…

Apex CRUD and FLS checks make sure your code respects what a user may do with an object and which fields they may see…

Apex Sharing Keywords decide whether your code respects the record access of the person running it. With the right keyword, a teacher sees only…

Apex Debug Logs record what happened inside a Salesforce transaction: every query, DML statement, debug message, limit and error. When a test fails or…

To Run Apex Tests well, you need more than the Developer Console. The Salesforce CLI lets you run one method, one class or every…

Apex Callout Mocks let you test code that calls an outside system without making a real HTTP request. Salesforce does not allow real callouts…

Testing Async Apex means proving that code which runs later, such as Queueable jobs, Batch Apex, future methods and scheduled jobs, really does its…

Testing Apex Triggers means proving that your trigger works for one record, for 200 records, for bad data and for different users. A trigger…