Branch Coverage

/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/XS/libcatch.x/i/catch2/benchmark/catch_benchmark.hpp
Criterion Covered Total %
branch 0 56 0.0


line true false branch
48 0 0 auto run_time = std::max(min_time, std::chrono::duration_cast(cfg.benchmarkWarmupTime()));
49 0 0 auto&& test = Detail::run_for_at_least(std::chrono::duration_cast>(run_time), 1, fun);
51 0 0 return { new_iters, test.elapsed / test.iterations * new_iters * cfg.benchmarkSamples(), fun, std::chrono::duration_cast>(cfg.benchmarkWarmupTime()), Detail::warmup_iterations };
0 0 return { new_iters, test.elapsed / test.iterations * new_iters * cfg.benchmarkSamples(), fun, std::chrono::duration_cast>(cfg.benchmarkWarmupTime()), Detail::warmup_iterations };
0 0 return { new_iters, test.elapsed / test.iterations * new_iters * cfg.benchmarkSamples(), fun, std::chrono::duration_cast>(cfg.benchmarkWarmupTime()), Detail::warmup_iterations };
56 0 0 auto const* cfg = getCurrentContext().getConfig();
0 0 auto const* cfg = getCurrentContext().getConfig();
58 0 0 auto env = Detail::measure_environment();
60 0 0 getResultCapture().benchmarkPreparing(name);
0 0 getResultCapture().benchmarkPreparing(name);
64 0 0 });
0 0 });
70 0 0 cfg->benchmarkSamples(),
71 0 0 cfg->benchmarkResamples(),
74 0 0 };
76 0 0 getResultCapture().benchmarkStarting(info);
0 0 getResultCapture().benchmarkStarting(info);
80 0 0 });
82 0 0 auto analysis = Detail::analyse(*cfg, env, samples.begin(), samples.end());
83 0 0 BenchmarkStats> stats{ info, analysis.samples, analysis.mean, analysis.standard_deviation, analysis.outliers, analysis.outlier_variance };
0 0 BenchmarkStats> stats{ info, analysis.samples, analysis.mean, analysis.standard_deviation, analysis.outliers, analysis.outlier_variance };
84 0 0 getResultCapture().benchmarkEnded(stats);
0 0 getResultCapture().benchmarkEnded(stats);
0 0 getResultCapture().benchmarkEnded(stats);
0 0 getResultCapture().benchmarkEnded(stats);
0 0 getResultCapture().benchmarkEnded(stats);
0 0 getResultCapture().benchmarkEnded(stats);
0 0 getResultCapture().benchmarkEnded(stats);