Branch Coverage

blib/lib/Test/TAP/Model/File.pm
Criterion Covered Total %
branch 23 28 82.1


line true false branch
35 0 3 unless my $event = $_[0]{'struct'}{'events'}[-1]
36 0 3 unless exists $$event{'type'}
45 29 4 wantarray ? :
51 89 0 if exists $$_{'type'}
53 33 0 if (defined $max)
54 2 31 if ($max > @cases) { }
2 29 elsif (@cases > $max) { }
80 119 33 if not wantarray and defined $scalar
97 6 12 if $$_{'todo'}
101 1 2 $self->ok ? :
8 3 $self->seen ? :
109 1 1 unless $_[0]{'struct'}{'pre_diag'}
116 0 2 unless $self->seen == $other->seen
123 1 2 unless pop @self == pop @other