Branch Coverage

blib/lib/TAP/Harness/Metrics.pm
Criterion Covered Total %
branch 30 46 65.2


line true false branch
33 0 1 unless ($module)
34 0 1 unless ($f)
36 0 1 if ($@)
38 0 1 unless ($cb)
47 1 7 if ($self->{'type'} eq "module")
49 1 0 if (my $cfg = $self->{'module'}->can("configureHarness"))
68 1 7 if ($type eq "module")
76 30 90 if (defined $self->{'subdepth'} and $self->{'subdepth'} >= 0)
77 110 10 $self->{'prefix'} ? :
32 88 $self->{'label'} && defined $event{'label'} ? :
83 4 58 unless (@{$event{'path'};})
92 12 6 if (defined $event->{'label'}) { }
93 6 6 $self->{'label'} ? :
107 2 20 if ($self->{'rollup'})
109 50 0 $self->{'bubble'} ? :
117 0 22 if ($self->{'type'} eq "file")
118 1 21 if ($self->{'type'} eq "module")
119 21 1 if ($self->{'type'} eq "stderr")
125 0 21 unless (%metrics)
132 0 0 unless (%metrics)
133 0 0 $self->{'append'} ? :
134 0 0 unless open my $fh, $append, $self->{'outfile'}
137 0 0 if ($countdown--) { }