hudson.plugins.PerfPublisher
Class TrendReport
java.lang.Object
hudson.plugins.PerfPublisher.TrendReport
public class TrendReport
- extends java.lang.Object
Class representation of trend between two reports
- Author:
- Lapeluche
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrendReport
public TrendReport(ReportContainer actualReport,
ReportContainer oldReport)
floor
public static double floor(double a,
int n)
- Round a double with n decimals
- Parameters:
a - value to convertn - Number of decimals
- Returns:
- the rounded number
getActualReportContainer
public ReportContainer getActualReportContainer()
- Returns:
- the actual report
setActualReportContainer
public void setActualReportContainer(ReportContainer actualReportContainer)
- Parameters:
actualReport - the actual report
getOldReport
public ReportContainer getOldReport()
- Returns:
- the old report
setOldReport
public void setOldReport(ReportContainer oldReportContainer)
- Parameters:
oldReport - the old report
isNumberOfTestHasIncrease
public boolean isNumberOfTestHasIncrease()
- Returns:
- true if the number of test has increased
isNumberOfTestHasDecrease
public boolean isNumberOfTestHasDecrease()
- Returns:
- true if the number of test has decrease
isNumberOfTestStable
public boolean isNumberOfTestStable()
- Returns:
- true if the number of test is stable
isPercentOfPassedTestHasIncrease
public boolean isPercentOfPassedTestHasIncrease()
- Returns:
- true if the percent of passed test has increase
isPercentOfPassedTestHasDecrease
public boolean isPercentOfPassedTestHasDecrease()
- Returns:
- true if the percent of passed test has decrease
isPercentOfPassedTestStable
public boolean isPercentOfPassedTestStable()
- Returns:
- true if the percent of passed test is stable
isNumberOfExecutedTestHasIncreased
public boolean isNumberOfExecutedTestHasIncreased()
- Returns:
- true if the number of executed test has increased
isNumberOfExecutedTestHasDecrease
public boolean isNumberOfExecutedTestHasDecrease()
- Returns:
- true if the number of executed test has decrease
isNumberOfExecutedTestStable
public boolean isNumberOfExecutedTestStable()
- Returns:
- true if the number of executed test is stable
isPercentOfExecutedTestHasIncreased
public boolean isPercentOfExecutedTestHasIncreased()
- Returns:
- true if the percent of executed test has increased
isNumberOfNotExecutedTestHasIncreased
public boolean isNumberOfNotExecutedTestHasIncreased()
- Returns:
- true if the number of not executed test has increased
isNumberOfNotExecutedTestHasDecrease
public boolean isNumberOfNotExecutedTestHasDecrease()
- Returns:
- true if the number of not executed test has decrease
isNumberOfNotExecutedTestStable
public boolean isNumberOfNotExecutedTestStable()
- Returns:
- true if the number of not executed test is stable
isPercentOfNotExecutedTestHasIncreased
public boolean isPercentOfNotExecutedTestHasIncreased()
- Returns:
- true if the percent of not executed test has increased
isPercentOfFailedTestHasIncrease
public boolean isPercentOfFailedTestHasIncrease()
- Returns:
- true if the percent of passed test has increase
isPercentOfFailedTestHasDecrease
public boolean isPercentOfFailedTestHasDecrease()
- Returns:
- true if the percent of passed test has decrease
isPercentOfFailedTestStable
public boolean isPercentOfFailedTestStable()
- Returns:
- true if the percent of passed test is stable
isAverageOfCompileTimeHasIncrease
public boolean isAverageOfCompileTimeHasIncrease()
- Returns:
- true if the average compile time has increase
isAverageOfCompileTimeHasDecrease
public boolean isAverageOfCompileTimeHasDecrease()
- Returns:
- true if the average compile time has decrease
isAverageOfCompileTimeStable
public boolean isAverageOfCompileTimeStable()
- Returns:
- true if the average compile time is stable
isAverageOfExecutionTimeHasIncrease
public boolean isAverageOfExecutionTimeHasIncrease()
- Returns:
- true if the average execution time has increase
isAverageOfExecutionTimeHasDecrease
public boolean isAverageOfExecutionTimeHasDecrease()
- Returns:
- true if the average execution time has decrease
isAverageOfExecutionTimeStable
public boolean isAverageOfExecutionTimeStable()
- Returns:
- true if the average execution time is stable
isAverageOfPerformanceHasIncrease
public boolean isAverageOfPerformanceHasIncrease()
- Returns:
- true if the average performance has increase
isAverageOfPerformanceHasDecrease
public boolean isAverageOfPerformanceHasDecrease()
- Returns:
- true if the average performance has decrease
isAverageOfPerformanceStable
public boolean isAverageOfPerformanceStable()
- Returns:
- true if the average performance is stable
getNewTests
public java.util.ArrayList<Test> getNewTests()
getNumberOfNewTests
public int getNumberOfNewTests()
getPercentOfNewTests
public double getPercentOfNewTests()
getNumberOfDeletedTests
public int getNumberOfDeletedTests()
getDeletedTests
public java.util.ArrayList<Test> getDeletedTests()
getPercentOfDeletedTests
public double getPercentOfDeletedTests()
getExecutionStatusChangedTests
public java.util.List<Test> getExecutionStatusChangedTests()
getNumberOfExecutionStatusChangedTests
public int getNumberOfExecutionStatusChangedTests()
getPercentOfExecutionStatusChangedTests
public double getPercentOfExecutionStatusChangedTests()
getSuccessStatusChangedTests
public java.util.List<Test> getSuccessStatusChangedTests()
getNumberOfSuccessStatusChangedTests
public int getNumberOfSuccessStatusChangedTests()
getPercentOfSuccessStatusChangedTests
public double getPercentOfSuccessStatusChangedTests()
containsMetrics
public boolean containsMetrics(java.lang.String metricName)
isAverageOfMetricValueHasIncreased
public boolean isAverageOfMetricValueHasIncreased(java.lang.String metricName)
isAverageOfMetricValueHasDecreased
public boolean isAverageOfMetricValueHasDecreased(java.lang.String metricName)
Copyright © 2010. All Rights Reserved.