Flow Complexity Checker
Analyze Salesforce Flows for performance issues, best practice violations, and complexity metrics.
Drop Flow metadata files here
Supports .flow-meta.xml files
How to Get Your Flow Metadata
- 1Use VS Code with Salesforce CLI to retrieve flows:
sf project retrieve start -m Flow - 2Find your flows in
force-app/main/default/flows/ - 3Drop the .flow-meta.xml files here to analyze
What We Check For
Critical Issues
- • DML operations inside loops
- • SOQL queries inside loops
- • Nested loop structures
Warnings
- • Missing fault/error paths
- • Hardcoded Salesforce IDs
- • High element count (50+)
- • Complex decisions (5+ branches)