Branch Coverage

blib/lib/Test/Trap.pm
Criterion Covered Total %
branch 28 28 100.0


line true false branch
19 46 1 !($sym =~ /^[\@%*]/) ? :
51 47 $sym =~ s/^\$// ? :
40 98 $sym =~ s/^:// ? :
7 138 UNIVERSAL::isa($sym, 'CODE') ? :
25 1 64 if (@function > 1)
28 1 63 if (@scalar > 1)
31 44 19 @function ? :
32 49 14 @scalar ? :
50 32 26 @_ ? :
51 55 3 if exists &Test::Trap::___exit
197 12 3 if not $x
269 4 94 if $buf ne ''
273 3 46 unless (my $ok = $Test->ok(!@fail, $name))
292 1 2 $self->Prop->{'diag_all_once'}++ ? :