Branch Coverage

blib/lib/Test2/Util/Stash.pm
Criterion Covered Total %
branch 27 42 64.2


line true false branch
29 0 19 unless $SLOTMAP{$_[0]}
30 0 4 unless $SIGMAP{$_[0]}
50 1491 634 if (ref $symbol)
53 1 1050 if $pkg and $package and $pkg ne $package
61 0 634 if $] == "5.01"
62 0 634 unless my($sig, $pkg, $name) = $symbol =~ /^(\W?)(.*::)?([^:]+)$/
66 1 3 $pkg eq '::' ? :
4 630 $pkg ? :
72 1 3 if $pkg and $package and $pkg ne $package
98 62 874 unless exists $stash->{$name}
101 393 481 if $type ne "SCALAR" and defined *{$glob;}{$type}
103 0 481 if ($] < "5.01")
104 0 0 unless defined *{$glob;}{$type}
109 0 0 if eval "package $package; my \$y = $symbol; 1"
112 0 0 unless defined *{$glob;}{$type}
113 0 0 if defined ${*{$glob;}{$type};}
118 88 393 if $sv->isa("B::SV")
119 0 393 unless $sv->isa("B::SPECIAL")
120 0 393 if $B::specialsv_name[$$sv] ne "Nullsv"
132 88 440 if $type eq $sym->{'type'}
134 419 21 unless $ref