Churn hotspots
hotspotsRank frequently changed files by commit count and added/deleted lines, following renames, to flag refactoring or extra-review candidates from churn percentiles.
Instructions
Rank the most frequently changed files (churn hotspots): commits touching each file and total lines added/deleted, following renames (older commits under a former name count towards the current name, listed in 'renamed_from'). Deleted files and merge commits are excluded. Each row has 'churn_percentile'; only files with >= 3 commits in the top decile carry a 'hint' marking them as refactoring / extra-review candidates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of files to return. | |
| since | No | Only count commits newer than this git date expression, e.g. '1 year ago', '6 months ago', '2025-01-01'. Empty string = all history. | 1 year ago |
| repo_path | Yes | Absolute path to a local git repository, or to any folder inside one (a sub-folder scopes the analysis to it). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||