For pull requests (or more generally: for jobs that have a reference build defined) the classes in this package collect a statistical summary for all containing commits. This includes the commits count, the changed files count, and the added and deleted lines in those commits.
Additionally, the classes in this package will collect commit statistics for all repository files in the style of the book "Code as a Crime Scene":
- commits count
- different authors count
- creation time
- last modification time
- lines of code (from the commit details)
- code churn (changed lines since created)
Class Summary Class Description CommitStatisticsStepA pipeline
Stepor Freestyle or Maven
Recorderthat obtains statistics for all repository files.
CommitStatisticsStep.DescriptorDescriptor for this step: defines the context and the UI elements. DiffsCollectorCollects delta information (added and deleted lines of code) for all files that are part of a given commit. GitMinerFactoryA
GitRepositoryMinerMines a Git repository and creates statistics for all available files.