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 Stringprotected booleanExclude response time of errored samplesstatic final doubleprotected booleanstatic final Loggerstatic final doublestatic final doublestatic final doubleprotected final ThreadLocal<DecimalFormat>protected booleanstatic final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidabstract voidprotected voidcheckPercentileAndSet(Double key, Long value) abstract intabstract doubleabstract longabstract longabstract longabstract longabstract longabstract longabstract doubleabstract Stringabstract Stringabstract longgetMax()abstract longabstract longabstract longgetMin()getPercentileLabel(Double perc) abstract intbooleanprotected booleanisIncludeResponseTime(HttpSample sample) booleanparsePercentiles(String percentiles) abstract intvoidsetExcludeResponseTime(boolean excludeResponseTime) voidsetShowTrendGraphs(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
-