Class IssuesStatistics

  • All Implemented Interfaces:
    Serializable

    public class IssuesStatistics
    extends Object
    implements Serializable
    Simple data class that determines the total number of issues (by severity, new, total, fixed and delta) in a build.
    Author:
    Ullrich Hafner
    See Also:
    Serialized Form
    • Method Detail

      • getTotalSize

        public int getTotalSize()
      • getNewSize

        public int getNewSize()
      • getDeltaSize

        public int getDeltaSize()
      • getTotalErrorSize

        public int getTotalErrorSize()
      • getTotalHighSize

        public int getTotalHighSize()
      • getTotalNormalSize

        public int getTotalNormalSize()
      • getTotalLowSize

        public int getTotalLowSize()
      • getNewErrorSize

        public int getNewErrorSize()
      • getNewHighSize

        public int getNewHighSize()
      • getNewNormalSize

        public int getNewNormalSize()
      • getNewLowSize

        public int getNewLowSize()
      • getDeltaErrorSize

        public int getDeltaErrorSize()
      • getDeltaHighSize

        public int getDeltaHighSize()
      • getDeltaNormalSize

        public int getDeltaNormalSize()
      • getDeltaLowSize

        public int getDeltaLowSize()
      • getFixedSize

        public int getFixedSize()
      • getTotalSizePerSeverity

        public org.eclipse.collections.api.map.ImmutableMap<edu.hm.hafner.analysis.Severity,​Integer> getTotalSizePerSeverity()
      • getTotalSizeOf

        public int getTotalSizeOf​(edu.hm.hafner.analysis.Severity severity)
        Returns the total number of issues that have the specified Severity.
        Parameters:
        severity - the severity of the issues to match
        Returns:
        total number of issues
      • getNewSizePerSeverity

        public org.eclipse.collections.api.map.ImmutableMap<edu.hm.hafner.analysis.Severity,​Integer> getNewSizePerSeverity()
      • getNewSizeOf

        public int getNewSizeOf​(edu.hm.hafner.analysis.Severity severity)
        Returns the total number of new issues that have the specified Severity.
        Parameters:
        severity - the severity of the issues to match
        Returns:
        total number of issues
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object