Branch Coverage

blib/lib/Dumbbench.pm
Criterion Covered Total %
branch 36 74 48.6


line true false branch
34 3 0 if (not ref $proto) { }
58 0 3 if ($self->target_abs_precision <= 0 and $self->target_rel_precision <= 0)
61 3 0 if ($self->initial_runs < 6)
71 0 4 if ($self->started)
75 0 4 unless (&_INSTANCE($instance, 'Dumbbench::Instance'))
89 0 3 if $self->started
90 3 0 if $self->subtract_dry_run
98 0 4 if $instance->result
108 0 4 if $instance->dry_result
127 4 4 if ($dry)
128 4 0 if $V < 0
135 0 8 if $V
136 4 4 if ($dry) { }
145 0 8 if $V
147 0 24 if $V > 1
148 20 4 $dry ? :
151 0 8 if $V
178 0 12 if (not $n_good and @timings >= $max_iterations)
183 12 0 if ($n_good)
190 12 0 if ($rel_precision > 0)
192 0 12 if $V > 1
193 0 12 if $rel > $rel_precision
195 0 12 if ($abs_precision > 0)
196 0 0 if $V > 1
197 0 0 if $sigma > $abs_precision
199 4 8 if ($n_good < $initial_timings)
202 8 4 if not $need_iter or @timings >= $max_iterations
208 4 0 $dry ? :
211 0 8 if (@timings >= $max_iterations and not $dry)
218 8 0 if ($self->outlier_rejection)
228 4 4 if ($dry) { }
234 4 0 if defined $instance->dry_result and $self->subtract_dry_run
243 0 0 unless ref $options eq ref {}
248 0 0 $options->{'float'} ? :
250 0 0 if (not $raw) { }
266 0 0 if ($self->verbosity)
279 0 0 if $@