Branch Coverage

blib/lib/TAP/Harness/Metrics.pm
Criterion Covered Total %
branch 23 40 57.5


line true false branch
32 0 1 unless ($module)
33 0 1 unless ($f)
35 0 1 if ($@)
37 0 1 unless ($cb)
46 1 4 if ($self->{'type'} eq "module")
48 1 0 if (my $cfg = $self->{'module'}->can("configureHarness"))
67 1 4 if ($type eq "module")
75 15 17 if (defined $self->{'subdepth'} and $self->{'subdepth'} >= 0)
76 27 5 $self->{'prefix'} ? :
12 20 $self->{'label'} ? :
86 0 32 if ($self->{'rollup'}) { }
89 0 10 if ($self->{'rollup'})
96 0 10 if ($self->{'type'} eq "file")
97 1 9 if ($self->{'type'} eq "module")
98 9 1 if ($self->{'type'} eq "stderr")
104 0 9 unless (%metrics)
111 0 0 unless (%metrics)
112 0 0 $self->{'append'} ? :
113 0 0 unless open my $fh, $append, $self->{'outfile'}
116 0 0 if ($countdown--) { }