This section allows you to define how code is tracked, organized, and filtered within your workspace. These settings help you maintain clarity and control over your Git activity, ensuring that only relevant code is monitored and evaluated.
Draft Pull Requests & Branches
The "Draft Pull Requests & Branches" setting lets you ignore pull requests and branches marked as drafts to exclude them from metrics.
Configuration Options:
-
Ignore by Keywords or Phrases: Specify words or phrases (in quotation marks, separated by commas) that indicate a pull request or branch is in draft mode.Note:
wip,"my branch name",poc -
For pull requests, the rule applies to the pull request title.
-
For branches, the rule applies to the branch name. Example:
-
Ignore by Regular Expression:Define a regular expression to identify draft pull requests or branches.Note:
- For pull requests, the rule applies to the pull request title.
-
For branches, the rule applies to the branch name. Example:
^wip
How to Use:
- Enter the desired keywords, phrases, or regular expressions in the respective fields.
- DevStats will automatically exclude all matching pull requests and branches from analysis.
- You can restore the default configuration anytime by selecting Restore to default at the top right.

Exclude Folders and Files Extensions
The "Exclude Folders and Files Extensions" setting lets you ignore specific folders or file types during repository scans to focus on relevant code.
Configuration:
-
Enter regular expressions for folders or file extensions you want to exclude.Predefined examples:
-
^/tests/*(Exclude all files in thetestsfolder). -
\.json$(Exclude all JSON files). -
^/workspace/*(Exclude the workspace folder). -
(ini|csv|xls|xlsx|xlr|doc|docx|txt|pps|ppt|pptx|dot|dotx|log|tar|rtf|dat|ipynb|po|profile|object|arb|snap)$(Exclude common non-code file types). -
composer.lock$ -
package-lock.json$ -
.dist/* -
*.txt
