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)