Class ForensicsModel

java.lang.Object
io.jenkins.plugins.datatables.TableModel
io.jenkins.plugins.analysis.core.model.DetailsTableModel
io.jenkins.plugins.analysis.core.model.ForensicsModel

public class ForensicsModel extends DetailsTableModel
Provides the dynamic model for the details table that shows the source control file statistics.

This forensics model consists of the following columns:

  • issue details (message and description)
  • file name
  • age
  • total number of different authors
  • total number of commits
  • time of last commit
  • time of first commit
  • lines of code
  • code churn
Author:
Ullrich Hafner
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in class io.jenkins.plugins.datatables.TableModel
    • getColumns

      public List<io.jenkins.plugins.datatables.TableColumn> getColumns()
      Specified by:
      getColumns in class io.jenkins.plugins.datatables.TableModel
    • getRow

      public ForensicsModel.ForensicsRow getRow(edu.hm.hafner.analysis.Issue issue)
      Description copied from class: DetailsTableModel
      Returns a table row for the specified issue.
      Specified by:
      getRow in class DetailsTableModel
      Parameters:
      issue - the issue to show in the row
      Returns:
      a table row for the issue