Why You Should Use Salesforce Code Analyzer | Salesforce Best Practices

Описание к видео Why You Should Use Salesforce Code Analyzer | Salesforce Best Practices

In this video tutorial, I am going to show you how to use Salesforce Code Analyzer to ensure your code adheres to best practices, helping you identify problems earlier while you develop.
This powerful tool helps you to enforce coding standards, and ensure your code is optimized as per Salesforce Standards using PMD, CPD, ESLint, RetireJS etc.

You can generate a detailed static code analysis report using this tool. As pre-requisite you need SFDX CLI and Java Installed.

⏲️Timestamps
00:00 Intro
00:30 SF Best Practices
02:25 Apex Recipes
03:30 Salesforce Code Analyzer
04:28 How to Install
06:10 How to Scan
08:45 Java JDK
09:24 Execute Scan Command
10:00 Output HTML file
11:38 Apex PMD
13:40 CI CD Pipeline
14:26 Outro

📌SF Code Analyzer Link
https://developer.salesforce.com/docs...

📌Installation Command
sf plugins install @salesforce/sfdx-scanner

📌Command to Scan Folder
sf scanner run --format html --outfile CodeAnalyzerResults.html --target force-app\main\default --projectdir force-app\main\default

#salesforce #salesforcedeveloper #codescanner #bestpractice #coding #apex

Комментарии

Информация по комментариям в разработке