Branch Coverage

blib/lib/Devel/MAT/Tool/Reachability.pm
Criterion Covered Total %
branch 41 60 68.3


line true false branch
136 0 317 unless $stash->type eq "STASH"
145 317 6997 if ($key =~ /::$/u) { }
6863 134 elsif ($value->type eq 'GLOB') { }
162 0 7314 if $progress and $count % 1000 == 0
181 0 317 if $progress and $count % 1000 == 0
190 0 27721 unless my $sv = shift @user
196 1614 0 if $sv->rv
1614 26107 if ($_ eq 'REF') { }
376 25731 elsif ($_ eq 'ARRAY') { }
517 25214 elsif ($_ eq 'HASH') { }
4 25210 elsif ($_ eq 'GLOB') { }
5115 20095 elsif ($_ eq 'CODE') { }
0 20095 elsif ($_ eq 'LVALUE') { }
20095 0 elsif ($_ =~ /^(?:UNDEF|BOOL|SCALAR|IO|REGEXP|FORMAT)$/u) { }
201 4 0 if $gv->{'tool_reachable'}
216 0 5115 if ($padnames_av)
221 1 2364 unless $pad
225 2239 125 if (my $argsav = $pad->elem(0))
230 0 22996 $padnames_av ? :
231 0 22996 $padname_sv && $padname_sv->type eq 'SCALAR' ? :
234 612 22384 unless my $padsv = $pad->elem($padix)
235 0 22384 if $padsv->immortal
237 0 22384 if ($padname and $padname eq '&') { }
0 22384 elsif ($padname) { }
264 0 0 if $lv->target
280 0 27721 if $progress and $count % 1000 == 0
289 32 26505 unless my $sv = shift @internal
290 26307 198 if $sv->{'tool_reachable'}
294 573 0 $_->sv ? :
297 0 198 if $progress and $count % 1000 == 0