Branch Coverage

blib/lib/Benchmark/CSV.pm
Criterion Covered Total %
branch 34 54 62.9


line true false branch
21 8 1 ref $rest[0] ? :
26 2 1006 if ($nargs >= 2)
27 1 1 if $self->{'finalized'}
30 1003 3 if $self->{'output_fh'}
31 2 1 unless ($self->{'output'})
39 2 2 if ($nargs >= 2)
40 1 1 if $self->{'finalized'}
43 1 1 if defined $self->{'sample_size'}
53 0 2 if ($nargs >= 2)
54 0 0 if $self->{'finalized'}
57 1 1 if exists $self->{'scale_values'}
67 0 4 if ($nargs >= 2)
68 0 0 if $self->{'finalized'}
71 3 1 if exists $self->{'per_second'}
77 0 2 if $nargs < 3
78 0 2 if $self->{'finalized'}
80 0 2 if exists $self->{'instances'}{$name}
141 0 6 if ($nargs >= 2)
142 0 0 if $self->{'finalized'}
143 0 0 unless (exists $timing_methods->{$method})
148 5 1 if $self->{'timing_method'}
165 0 2 if ($self->per_second and $self->scale_values) { }
0 2 elsif ($self->per_second) { }
0 2 elsif ($self->scale_values) { }
186 0 2 unless (eval $build_sub)
195 0 1 if $self->{'headers_written'}
210 0 1 if $nargs < 2