# Product #21: Lightning Flow Scanner


![](https://cdn.hashnode.com/res/hashnode/image/upload/v1646048995616/s33m3ewD6.png)

`**Name**: Lightning Flow Scanner   **Usage**: Static code Analyser for Salesforce Flows   SFDXPlugin #VSCodeExtension #FreeApp #OpenSource`  
``    **Description**:   - The app is available as SFDX Plugin and VS Code Extension.   - It scans Saleforce flows against specific rules to validate best practices.   - Rules used for code analysis are:   - DML statements in a loop   - Duplicate DML operations   - Hardcoded Ids   - Missing flow description   - Missing error handlers   - Missing null handlers   - Unconnected elements(fixable)   - Unused variables(fixable)   - Fixes issues (fixable in rule list) automatically.      **Favourite** **Feature**:   - Can be used in CI/CD processes using SFDX plugin to analyse flows just like apex classes before deployment.   - Rules can be ignored or overwritten using .flowscanignore config file.      **SFDX Plugin Repo**: `[lightning-flow-scanner-sfdx](https://github.com/Force-Config-Control/lightning-flow-scanner-sfdx)` ````    **VSCode Extension Repo**: `[lightning-flow-scanner-vsce](https://github.com/Force-Config-Control/lightning-flow-scanner-vsce)`   **VSCode Extension**: `[Lightning Flow Scanner](https://marketplace.visualstudio.com/items?itemName=ForceConfigControl.lightningflowscanner&s=08)`   **Rule Engine Used for both apps**: `[lightning-flow-scanner-core](https://github.com/Force-Config-Control/lightning-flow-scanner-core)` ``

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1646048998370/qN1NvGMYv.png)

Sample Salesforce Flow analysed by Lightning Flow Scanner app

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1646049001083/uxy3iT0dDm.png)

Issues found by the app

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1646049003681/fA1mhcg0w.png)

Issues found by the app

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1646049005956/ABa0L4C1R.png)

Example of the hardcoded Ids used in the flow

