@DefaultAnnotation(edu.umd.cs.findbugs.annotations.NonNull.class) package io.jenkins.plugins.forensics.git.miner
Provides API classes to obtain commit statistics for files in a repository.
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)
Stepor Freestyle or Maven
Recorderthat obtains statistics for all repository files.Descriptor for this step: defines the context and the UI elements.Collects delta information (added and deleted lines of code) for all files that are part of a given commit.A
MinerFactoryfor Git.Mines a Git repository and creates statistics for all available files.