Workflow Analyzer Rules
This document provides an overview of the analysis rules defined in the Workflow Analyzer.
Naming Rules (ST-NMG-...)
| Rule Name | Rule ID | Scope |
|---|---|---|
| Variable Naming | ST-NMG-001 | Activity |
| Argument Naming | ST-NMG-002 | Workflow |
| Display Name Duplication | ST-NMG-004 | Workflow |
| Variable Scoping | ST-NMG-005 | Activity |
| Variable Shadowing | ST-NMG-005 | Workflow |
| Variable Argument Collision | ST-NMG-006 | Workflow |
| Variable Length | ST-NMG-008 | Activity |
| Prefix Datatable Variables | ST-NMG-009 | Activity |
| Prefix Datatable Arguments | ST-NMG-011 | Workflow |
| Argument Length | ST-NMG-016 | Workflow |
Design Best Practices (ST-DBP-...)
| Rule Name | Rule ID | Scope |
|---|---|---|
| Argument Metrics | ST-DBP-002 | Workflow |
| Empty Catch Block | ST-DBP-003 | Activity |
| Flowchart Nesting | ST-DBP-007 | Workflow |
| Empty Workflow | ST-DBP-023 | Workflow |
| Delay Activity Usage | ST-DBP-026 | Activity |
Maintainability Rules (ST-MRD-...)
| Rule Name | Rule ID | Scope |
|---|---|---|
| Activity Naming | ST-MRD-002 | Activity |
| Redundant Sequences | ST-MRD-005 | Activity |
| Nested If | ST-MRD-007 | Workflow |
| Empty Sequence | ST-MRD-008 | Activity |
| Deeply Nested Activities | ST-MRD-009 | Workflow |
| Incomplete If | ST-MRD-017 | Activity |
Performance Rules (ST-PRR-...)
| Rule Name | Rule ID | Scope |
|---|---|---|
| Hardcoded Delay | ST-PRR-004 | Activity |
Security Rules (ST-SEC-...)
| Rule Name | Rule ID | Scope |
|---|---|---|
| SecureString for Sensitive Arguments | ST-SEC-007 | Workflow |
| SecureString for Sensitive Variables | ST-SEC-008 | Activity |
Usage Rules (ST-USG-...)
| Rule Name | Rule ID | Scope |
|---|---|---|
| Unused Dependencies | ST-USG-010 | Project |
| Package Restrictions | ST-USG-014 | Project |
| Minimum Log Messages | ST-USG-020 | Workflow |
| Activity Restrictions | ST-USG-026 | Activity |
| Required Packages | ST-USG-027 | Project |
Project Anatomy Rules (ST-ANA-...)
| Rule Name | Rule ID | Scope |
|---|---|---|
| Project Workflow Count | ST-ANA-003 | Project |
| Main Workflow Exists | ST-ANA-006 | Project |