Class AbstractReport
java.lang.Object
hudson.plugins.performance.reports.AbstractReport
- Direct Known Subclasses:
PerformanceReport
,UriReport
Abstract class for classes with samplesCount, error, mean, average, 90 line, 95 line, min and max attributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ThreadLocal<DecimalFormat>
static final String
protected boolean
Exclude response time of errored samplesstatic final double
protected boolean
static final Logger
static final double
static final double
static final double
protected final ThreadLocal<DecimalFormat>
protected boolean
static final double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
abstract void
protected void
checkPercentileAndSet
(Double key, Long value) abstract int
abstract double
abstract long
abstract long
abstract long
abstract long
abstract long
abstract long
abstract double
abstract String
abstract String
abstract long
getMax()
abstract long
abstract long
abstract long
getMin()
getPercentileLabel
(Double perc) abstract int
boolean
protected boolean
isIncludeResponseTime
(HttpSample sample) boolean
parsePercentiles
(String percentiles) abstract int
void
setExcludeResponseTime
(boolean excludeResponseTime) void
setShowTrendGraphs
(boolean showTrendGraphs)
-
Field Details
-
LOGGER
-
ZERO_PERCENT
public static final double ZERO_PERCENT- See Also:
-
ONE_HUNDRED_PERCENT
public static final double ONE_HUNDRED_PERCENT- See Also:
-
NINETY_PERCENT
public static final double NINETY_PERCENT- See Also:
-
NINETY_FIVE_PERCENT
public static final double NINETY_FIVE_PERCENT- See Also:
-
FIFTY_PERCENT
public static final double FIFTY_PERCENT- See Also:
-
DEFAULT_PERCENTILES
- See Also:
-
percentFormat
-
dataFormat
-
percentilesValues
-
percentilesDiffValues
-
isCalculatedPercentilesValues
protected boolean isCalculatedPercentilesValues -
excludeResponseTime
protected boolean excludeResponseTimeExclude response time of errored samples -
showTrendGraphs
protected boolean showTrendGraphs
-
-
Constructor Details
-
AbstractReport
public AbstractReport()
-
-
Method Details
-
countErrors
public abstract int countErrors() -
errorPercent
public abstract double errorPercent() -
calculatePercentiles
public abstract void calculatePercentiles() -
calculateDiffPercentiles
public abstract void calculateDiffPercentiles() -
errorPercentFormated
-
checkPercentileAndSet
-
parsePercentiles
-
getAverage
public abstract long getAverage() -
getAverageFormated
-
getMedian
public abstract long getMedian() -
getMeanFormated
-
get90Line
public abstract long get90Line() -
get90LineFormated
-
get95Line
public abstract long get95Line() -
get95LineFormated
-
getMax
public abstract long getMax() -
getMaxFormated
-
getMin
public abstract long getMin() -
samplesCount
public abstract int samplesCount() -
getHttpCode
-
getAverageDiff
public abstract long getAverageDiff() -
getMedianDiff
public abstract long getMedianDiff() -
get90LineDiff
public abstract long get90LineDiff() -
get95LineDiff
public abstract long get95LineDiff() -
getErrorPercentDiff
public abstract double getErrorPercentDiff() -
getLastBuildHttpCodeIfChanged
-
getSamplesCountDiff
public abstract int getSamplesCountDiff() -
isExcludeResponseTime
public boolean isExcludeResponseTime() -
setExcludeResponseTime
public void setExcludeResponseTime(boolean excludeResponseTime) -
isShowTrendGraphs
public boolean isShowTrendGraphs() -
setShowTrendGraphs
public void setShowTrendGraphs(boolean showTrendGraphs) -
isIncludeResponseTime
-
getPercentilesValues
-
getPercentilesDiffValues
-
getPercentileLabel
-