Class PerformanceReportMap

java.lang.Object
hudson.plugins.performance.PerformanceReportMap
All Implemented Interfaces:
ModelObject

public class PerformanceReportMap extends Object implements ModelObject
Root object of a performance report.
  • Constructor Details

  • Method Details

    • getBuild

      public Run<?,?> getBuild()
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface ModelObject
    • getPerformanceListOrdered

      public List<PerformanceReport> getPerformanceListOrdered()
    • getPublisher

      protected PerformancePublisher getPublisher()
    • ifModeThroughputUsed

      public boolean ifModeThroughputUsed()
    • ifShowTrendGraphsUsed

      public boolean ifShowTrendGraphsUsed()
    • ifModePerformancePerTestCaseUsed

      public boolean ifModePerformancePerTestCaseUsed()
    • getPerformanceReportMap

      public Map<String,PerformanceReport> getPerformanceReportMap()
    • getPerformanceReport

      public PerformanceReport getPerformanceReport(String performanceReportName)

      Give the Performance report with the parameter for name in Bean

      Parameters:
      performanceReportName -
      Returns:
    • getUriReport

      public UriReport getUriReport(String uriReport)
      Get a URI report within a Performance report file
      Parameters:
      uriReport - "Performance report file name";"URI name"
      Returns:
    • getUrlName

      public String getUrlName()
    • setBuildAction

      public void setBuildAction(PerformanceBuildAction buildAction)
    • setPerformanceReportMap

      public void setPerformanceReportMap(Map<String,PerformanceReport> performanceReportMap)
    • getPerformanceReportFileRelativePath

      public static String getPerformanceReportFileRelativePath(String parserDisplayName, String reportFileName)
    • getPerformanceReportDirRelativePath

      public static String getPerformanceReportDirRelativePath()
    • isFailed

      public boolean isFailed(String performanceReportName)

      Verify if the PerformanceReport exist the performanceReportName must to be like it is in the build

      Parameters:
      performanceReportName -
      Returns:
      boolean
    • doRespondingTimeGraph

      public void doRespondingTimeGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
      Throws:
      IOException
    • doThroughputGraph

      public void doThroughputGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
      Throws:
      IOException
    • createThroughputChart

      protected org.jfree.chart.JFreeChart createThroughputChart(org.jfree.data.category.CategoryDataset dataset)
    • doRespondingTimeGraphPerTestCaseMode

      public void doRespondingTimeGraphPerTestCaseMode(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
      Throws:
      IOException
    • doErrorsGraph

      public void doErrorsGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
      Throws:
      IOException
    • createErrorsChart

      protected org.jfree.chart.JFreeChart createErrorsChart(org.jfree.data.category.CategoryDataset dataset)
    • createRespondingTimeChart

      protected org.jfree.chart.JFreeChart createRespondingTimeChart(org.jfree.data.category.CategoryDataset dataset, int legendLimit)
    • doSummarizerGraph

      public void doSummarizerGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
      Throws:
      IOException
    • createSummarizerChart

      protected org.jfree.chart.JFreeChart createSummarizerChart(org.jfree.data.category.CategoryDataset dataset)
    • parseReports

      protected void parseReports(Run<?,?> build, TaskListener listener, PerformanceReportMap.PerformanceReportCollector collector, String filename) throws IOException
      Throws:
      IOException
    • getReportMap

      protected PerformanceReportMap getReportMap(Run<?,?> build)
    • getPerformanceReportForBuild

      protected PerformanceReport getPerformanceReportForBuild(Run<?,?> build, String key)
    • getBuild

      protected Run<?,?> getBuild(int buildNumber)
    • getDynamic

      public Object getDynamic(String link, org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerRequest response)
    • createTrendReportGraphs

      public Object createTrendReportGraphs(org.kohsuke.stapler.StaplerRequest request)