GitHub is one of the Code Repositories supported in CloudMunch. Metrics can be pulled for one or more repos individually. CloudMunch pulls commits, parses the comments and generates metrics & visualizations.
GitHub integration configuration consists of the following parts
- Authentication - Basic Authentication is the supported authentication mode using username/password. The credentials will determine all the repositories that are available for selection.
- Repository selection - involves picking one or more repositories and specific branch of that repository. For each repository, the widgets for an individual repository are created.
- Regex for Story and Defect parsing - If your team uses specific patterns in your commit messages to associate a commit with a story or defect, you can configure the regular expression matching that pattern.
Here are the list of metrics created for GitHub integration.
|User Commits||Tracks the number of commits by users ordered by the commits count|
|Highest Commits||Count and user with the highest commits|
|Commits - Trend by Day||Commits into the Repository trend by day for the last seven days.|
|Commits - Trend by Sprints||Correlating total commits to the various Sprints (last four), if a Project management integration is configured.|
|Commits - Trend by Month||Commits into the Repository trend by month for the last several months.|
|Avg Commits/Story (Trend by Day, Month, Sprint)||Average number of commits per story (if story regex is specified)|
|Avg Files/Commit (Trend by Day, Month, Sprint)||Average number of files changed per commit|
|Avg Files/Story (Trend by Day, Month, Sprint)||Average number of files changed per story (if story regex is specified)|
|Avg Items/Commit (Trend by Day, Month, Sprint)||Average number of distinct files added/updated per commit|
|Commits - No Stories/Defects||Percentage of commits to stories vs defects|
|Avg Time/Story (Trend by Day, Month, Sprint)||Average time for a story (if story regex is specified - the time between the first and last commit for that story)|
|Defects||List of defects that have associated commits so far.|
|Stories||List of stories that have associated commits so far.|