...
Click on "Create New Label Rule"
Add a Label Category as highlighted below - Simply provide a Category name
Under a Category, you can add a new label by clicking on “+” and provide a label name
Now you should define the rules that will encapsulate the content you wish to tag/label, click on the label you wish to define on the left, and then pick the relevant code by choosing the app, how to filter it and the path for the code.
Filtering the code, by adding rules:
Exact match - Label a specific file (require the full logical path + filename)
Example:
sl-browser-agent/lib/agent-factory.ts
Starts with - Label a folder/class and all of its content
Example: typing lib will label the highlighted area below →
sl-browser-agent/lib/*.*
Ends with - Label a file type or common file names
Example: typing spec.ts will label all the files which end with spec.ts
Contains - a wildcard labeling - label all files and classes/folders where its name contains the entered string
Entire app - Label the Entire app
Finally, you should decide whether this label represents a “High Priority” code. Once tagged as High Priority - this will be indicated in “red dot” in the dashboard per new quality risks that were found in that high priority code label:
How to Modify Existing Categories/Labels:
Search for the label which rules you want to edit, for example "Quality - QualityDocs":
Click the edit icon
Go to the rule you want to edit and click the edit icon
Update the condition
And click the save button
Test Gaps Report Settings
...