Schnittstelle AnalysisBuildResult

Alle bekannten Unterschnittstellen:
StaticAnalysisRun
Alle bekannten Implementierungsklassen:
AnalysisResult, CompositeBuildResult

public interface AnalysisBuildResult
Provides statistics for the results of a static analysis run.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    Returns the number of fixed issues in this analysis run.
    int
    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 specified Severity.
    Returns the number of issues in this analysis run, mapped by their origin.
    Returns the total number of issues (by severity, new, total, fixed and delta) in a build.
    int
    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 specified Severity.
  • Methodendetails

    • 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.
      Gibt zurück:
      number of issues per origin
    • getFixedSize

      int getFixedSize()
      Returns the number of fixed issues in this analysis run.
      Gibt zurück:
      number of fixed issues
    • getTotalSize

      int getTotalSize()
      Returns the total number of issues in this analysis run.
      Gibt zurück:
      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 specified Severity.
      Parameter:
      severity - the severity of the issues to match
      Gibt zurück:
      total number of issues
    • getNewSize

      int getNewSize()
      Returns the number of new issues in this analysis run.
      Gibt zurück:
      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 specified Severity.
      Parameter:
      severity - the severity of the issues to match
      Gibt zurück:
      total number of issues
    • getTotals

      IssuesStatistics getTotals()
      Returns the total number of issues (by severity, new, total, fixed and delta) in a build.
      Gibt zurück:
      the totals