Skip to content

Commit e628ea6

Browse files
committed
patch(cli): release Cognetive Complexity in Beta
1 parent 20c241f commit e628ea6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Before-save Flows can safely update the triggering record directly via $Record,
243243
**Class Name:** _[SameRecordFieldUpdates](https://github.com/Flow-Scanner/lightning-flow-scanner/blob/main/packages/core/src/main/rules/SameRecordFieldUpdates.ts)_
244244
**Severity:** 🟡 *Warning*
245245

246-
#### Cognitive Complexity
246+
#### Cognitive Complexity ![Beta](https://img.shields.io/badge/status-beta-yellow)
247247
Flows with deeply nested loops and decisions are hard to understand. Unlike cyclomatic complexity which counts paths, cognitive complexity penalizes nesting depth. Consider extracting nested logic into subflows.
248248

249249
**Rule ID:** `cognitive-complexity`

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lightning-flow-scanner",
3-
"version": "6.19.0",
3+
"version": "6.19.1",
44
"bugs": "https://github.com/Flow-Scanner/lightning-flow-scanner/issues",
55
"description": "A Salesforce CLI plugin for analysis and optimization of Salesforce Flow. Scans metadata for 20+ issues such as hardcoded IDs, unsafe contexts, inefficient SOQL/DML operations, recursion risks, and missing fault handling. Supports auto-fixes, rule configurations, and CI/CD integration to help users maintain secure and reliable Flow automations.",
66
"dependencies": {

0 commit comments

Comments
 (0)