Branch Coverage

blib/lib/Safe/Hole.pm
Criterion Covered Total %
branch 20 38 52.6


line true false branch
27 2 2 unless ref $args eq 'HASH'
28 2 2 if ($$args{'ROOT'}) { }
52 9 2 if $$self{'INC'}
65 1 10 if ($wantarray) { }
74 2 9 unless $$self{'OPMASK'}
76 1 10 unless $did_not_die
77 1 9 wantarray ? :
89 6 0 if ($cpt and $name)
90 0 6 unless ref $cpt eq 'Safe'
91 6 0 if ($name =~ /^(\W)(\w+(::\w+)*)$/) { }
98 0 6 if ($type eq '') { }
6 0 elsif ($type eq 'CODE') { }
0 0 elsif (%{$type . '::';}) { }
102 6 0 if ($typechar eq '&') { }
0 0 elsif ($typechar) { }
115 0 0 if $AUTOLOAD =~ /::DESTROY$/
120 0 0 unless defined &{$wrapclass . '::AUTOLOAD';}
122 0 0 if ($typechar eq '$') { }
0 0 elsif ($typechar) { }