microsoft/PR Metrics
Augments pull request titles to let reviewers quickly determine PR size and test coverage
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base-size | Base size: The maximum number of new lines in an extra small PR. If left blank, a default of '200' will be used. | no | — |
| growth-rate | Growth rate: The growth rate applied to the base size for calculating the size of larger PRs. If left blank, a default of '2.0' will be used. | no | — |
| test-factor | Test factor: The lines of test code expected for each line of product code. This check can be disabled by setting the value to '0'. If left blank, a default of '1.0' will be used. | no | — |
| file-matching-patterns | File matching patterns: Globs (https://aka.ms/PRMetrics/Globs) specifying the files and folders to include. Autogenerated files should typically be excluded. Excluded files will contain a comment to inform reviewers that they do not to need to review those files. If left blank, a default of '**/*' will be used. | no | — |
| test-matching-patterns | Test matching patterns: Globs (https://aka.ms/PRMetrics/Globs) specifying the files and folders to consider tests. If left blank, files and folders containing 'test' or '.spec.' will be considered tests. | no | — |
| code-file-extensions | Code file extensions: Extensions for files containing code so that non-code files can be excluded. If left blank, a default set of file extensions will be used. | no | — |
Outputs
no outputs