Code quality rules list in RPA Hub
View a list of pre-defined rules that RPA admins can set for the RPA developers to follow as a code quality standard.
| Name of the rule | Description | |
|---|---|---|
| CQR0011 | Activity naming convention | Inspects if the activities naming convention is as per the defined Regular expression. |
| CQR0002 | Empty activities | Inspects if there are any empty activities in the automation. |
| CQR0005 | Hard-coded passwords | Inspects if there are any hard-coded passwords in the automation. |
| CQR0009 | Infinite loop | Inspects the possibility of an infinite loop sequence in the automation. |
| CQR0012 | Nested activities | Inspects if the depth of nested activities is as per the defined value. Activities are nested when you add another activity within the activity. For example, if 'Activity A' calling 'Activity B', 'Activity B' calling 'Activity C', and so on. |
| CQR0006 | Startup activity | Inspects if an activity is marked as the start activity for the automation. |
| CQR0001 | Try Catch - Exception handling | Inspects if the 'On Error' and 'Error Message' output ports of the Try Catch component are not used in the automation. |
| CQR0003 | Unreferenced activities | Inspects if there are any activities that are not referenced in the automation. |
| CQR0004 | Unused components | Inspects if there are any components that are not referenced in the automation. |
| CQR0008 | Unused plugins or user plugins | Inspects if there are any plugins or user plugins that are not referenced in the automation. |
| CQR0007 | Unused variables or global objects | Inspects if there any variables or global objects that are not referenced in the automation. |
| CQR0010 | Variable naming convention | Inspects if the variables naming convention is as per the defined Regular expression. |