Challenge Overview
Status: DRAFT
Our client is transforming its CRM, Self Serve, and Console services in Salesforce across business units, resulting in more than 1,600 Apex Classes, 100 triggers and voluminous LWC codes introduced by developers. This presents challenge in the following areas:
-
Accurately identifying potential impacts when introducing change
-
Potentially introducing duplicate logic; requiring build effort that should not be needed in the first place
-
Possibility of breaking the flow performing defect fixes
To simplify this we are going to build a Salesforce Apex Code and Metadata Analyser CLI that will extend the SFDX CLI to parse Salesforce artifacts offline and generate a symbol tree/dependency tree script (ClassDiagram script) that can be used to generate the UML diagram using Mermaid-JS. Ref this live editor for a quick demo.
In this challenge, we are going to create a CLI that will accept a CSV file & will generate a ClassDiagram Script that can be consumed by Mermaid-JS to generate the ClassDiagram Visualisation.
More .....