Interface AnalysisBuildResult
-
- All Known Subinterfaces:
StaticAnalysisRun
- All Known Implementing Classes:
AnalysisResult
,CompositeBuildResult
public interface AnalysisBuildResult
Provides statistics for the results of a static analysis run.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getFixedSize()
Returns the number of fixed issues in this analysis run.int
getNewSize()
Returns the number of new issues in this analysis run.int
getNewSizeOf(edu.hm.hafner.analysis.Severity severity)
Returns the new number of issues in this analysis run that have the specifiedSeverity
.Map<String,Integer>
getSizePerOrigin()
Returns the number of issues in this analysis run, mapped by their origin.int
getTotalSize()
Returns the total number of issues in this analysis run.int
getTotalSizeOf(edu.hm.hafner.analysis.Severity severity)
Returns the total number of issues in this analysis run that have the specifiedSeverity
.
-
-
-
Method Detail
-
getSizePerOrigin
Map<String,Integer> getSizePerOrigin()
Returns the number of issues in this analysis run, mapped by their origin. The origin is the tool that created the report.- Returns:
- number of issues per origin
-
getFixedSize
int getFixedSize()
Returns the number of fixed issues in this analysis run.- Returns:
- number of fixed issues
-
getTotalSize
int getTotalSize()
Returns the total number of issues in this analysis run.- Returns:
- total number of issues
-
getTotalSizeOf
int getTotalSizeOf(edu.hm.hafner.analysis.Severity severity)
Returns the total number of issues in this analysis run that have the specifiedSeverity
.- Parameters:
severity
- the severity of the issues to match- Returns:
- total number of issues
-
getNewSize
int getNewSize()
Returns the number of new issues in this analysis run.- Returns:
- number of new issues
-
getNewSizeOf
int getNewSizeOf(edu.hm.hafner.analysis.Severity severity)
Returns the new number of issues in this analysis run that have the specifiedSeverity
.- Parameters:
severity
- the severity of the issues to match- Returns:
- total number of issues
-
-