java.lang.Object
io.cucumber.usageformatter.Durations
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static DurationcalculateMarginOfError95(List<Duration> durations, Duration mean) Calculate the margin of error with a 0.95% confidence interval.(package private) static @Nullable UsageReport.StatisticscreateStatistics(List<Duration> durations) (package private) static BigDecimaltoBigDecimalSeconds(io.cucumber.messages.types.Duration duration) (package private) static BigDecimaltoBigDecimalSeconds(Duration duration)
-
Constructor Details
-
Durations
private Durations()
-
-
Method Details
-
createStatistics
-
calculateMarginOfError95
Calculate the margin of error with a 0.95% confidence interval.So assuming a normal distribution, the duration of a step will fall within
mean ± moe95with 95% probability.- See Also:
-
toBigDecimalSeconds
-
toBigDecimalSeconds
-