Class IssuesStatistics
- java.lang.Object
-
- io.jenkins.plugins.analysis.core.util.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IssuesStatistics.StatisticProperties
Available report statistics.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getDeltaErrorSize()
int
getDeltaHighSize()
int
getDeltaLowSize()
int
getDeltaNormalSize()
int
getDeltaSize()
int
getFixedSize()
int
getNewErrorSize()
int
getNewHighSize()
int
getNewLowSize()
int
getNewNormalSize()
int
getNewSize()
int
getNewSizeOf(edu.hm.hafner.analysis.Severity severity)
Returns the total number of new issues that have the specifiedSeverity
.org.eclipse.collections.api.map.ImmutableMap<edu.hm.hafner.analysis.Severity,Integer>
getNewSizePerSeverity()
int
getTotalErrorSize()
int
getTotalHighSize()
int
getTotalLowSize()
int
getTotalNormalSize()
int
getTotalSize()
int
getTotalSizeOf(edu.hm.hafner.analysis.Severity severity)
Returns the total number of issues that have the specifiedSeverity
.org.eclipse.collections.api.map.ImmutableMap<edu.hm.hafner.analysis.Severity,Integer>
getTotalSizePerSeverity()
int
hashCode()
-
-
-
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 specifiedSeverity
.- 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 specifiedSeverity
.- Parameters:
severity
- the severity of the issues to match- Returns:
- total number of issues
-
-