Klasse PropertyStatistics

java.lang.Object
io.jenkins.plugins.analysis.core.model.PropertyStatistics

public class PropertyStatistics extends Object
Groups issue by a specified property, like package name or origin. Provides statistics for this property in order to draw graphs or show the result in tables.
Autor:
Ullrich Hafner
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    long
    Returns the maximum number of issues for the specified property instance.
    Returns a display name for the specified property instance.
    long
    Returns the number of issues with severity Severity.ERROR for the specified property instance.
    long
    Returns the number of issues with severity Severity.WARNING_HIGH for the specified property instance.
    Returns all instances for this property.
    long
    Returns the number of issues with severity Severity.WARNING_LOW for the specified property instance.
    int
    Returns the maximum number of issues for each property instance.
    long
    Returns the new number of issues for the specified property instance.
    long
    Returns the number of issues with severity Severity.WARNING_NORMAL for the specified property instance.
    Returns the name of this property.
    Returns a display name for the specified property instance.
    int
    Returns the total number of issues.
    int
    Returns the number of issues introduced since the last build.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Methodendetails

    • getTotal

      public int getTotal()
      Returns the total number of issues.
      Gibt zurück:
      total number of issues
    • getTotalNewIssues

      public int getTotalNewIssues()
      Returns the number of issues introduced since the last build.
      Gibt zurück:
      the number of new issues
    • getProperty

      public String getProperty()
      Returns the name of this property. E.g., 'package name', 'module name', ect.
      Gibt zurück:
      the name
    • getDisplayName

      public String getDisplayName(String key)
      Returns a display name for the specified property instance.
      Parameter:
      key - the property instance
      Gibt zurück:
      the display name
    • getToolTip

      public String getToolTip(String key)
      Returns a display name for the specified property instance.
      Parameter:
      key - the property instance
      Gibt zurück:
      the display name
    • getKeys

      public Set<String> getKeys()
      Returns all instances for this property.
      Gibt zurück:
      the property instances
    • getMax

      public int getMax()
      Returns the maximum number of issues for each property instance.
      Gibt zurück:
      the maximum number of issues
    • getCount

      public long getCount(String key)
      Returns the maximum number of issues for the specified property instance.
      Parameter:
      key - the property instance
      Gibt zurück:
      the maximum number of issues
    • getNewCount

      public long getNewCount(String key)
      Returns the new number of issues for the specified property instance.
      Parameter:
      key - the property instance
      Gibt zurück:
      the new number of issues
    • getErrorCount

      public long getErrorCount(String key)
      Returns the number of issues with severity Severity.ERROR for the specified property instance.
      Parameter:
      key - the property instance
      Gibt zurück:
      the number of error issues
    • getHighCount

      public long getHighCount(String key)
      Returns the number of issues with severity Severity.WARNING_HIGH for the specified property instance.
      Parameter:
      key - the property instance
      Gibt zurück:
      the number of high-severity issues
    • getNormalCount

      public long getNormalCount(String key)
      Returns the number of issues with severity Severity.WARNING_NORMAL for the specified property instance.
      Parameter:
      key - the property instance
      Gibt zurück:
      the number of normal-severity issues
    • getLowCount

      public long getLowCount(String key)
      Returns the number of issues with severity Severity.WARNING_LOW for the specified property instance.
      Parameter:
      key - the property instance
      Gibt zurück:
      the number of low-severity issues