Klasse IssuesStatistics

java.lang.Object
io.jenkins.plugins.analysis.core.util.IssuesStatistics
Alle implementierten Schnittstellen:
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.
Autor:
Ullrich Hafner
Siehe auch:
  • Methodendetails

    • aggregate

      public IssuesStatistics aggregate(IssuesStatistics other)
      Aggregates the specified statistics with this statistics to a new instance, that contains all totals summed up.
      Parameter:
      other - the other statistics to aggregate
      Gibt zurück:
      the aggregated statistics
    • getTotalSize

      public int getTotalSize()
    • getTotalModifiedSize

      public int getTotalModifiedSize()
    • getNewSize

      public int getNewSize()
    • getNewModifiedSize

      public int getNewModifiedSize()
    • 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.
      Parameter:
      severity - the severity of the issues to match
      Gibt zurück:
      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.
      Parameter:
      severity - the severity of the issues to match
      Gibt zurück:
      total number of issues
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object