Branch Coverage

blib/lib/SelfLoader.pm
Criterion Covered Total %
branch 33 54 61.1


line true false branch
11 2 0 if ($] > 5.009004) { }
60 6 5 unless ($SL_code)
64 3 3 unless exists $Cache{"$1::
66 0 6 if not $SL_code and $AUTOLOAD =~ /::DESTROY$/
68 3 3 unless $SL_code
76 1 7 if ($@)
81 0 7 unless defined &$AUTOLOAD
98 0 3 unless defined fileno $fh
101 3 0 if (sysseek $fh, tell $fh, 0)
102 0 3 unless open my $nfh, '<&', $fh
103 0 3 unless close $fh
104 0 3 unless open $fh, '<&', $nfh
105 0 3 unless close $nfh
112 8 35 if ($line =~ /^\s*sub\s+([\w:]+)\s*((?:\([\\\$\@\%\&\*\;]*\))?(?:$SelfLoader::AttrList)?)/) { }
1 34 elsif ($line =~ /^package\s+([\w:]+)/) { }
116 8 0 if (index($1, '::') == -1) { }
121 0 0 if (defined &{"$1::AUTOLOAD";}) { }
122 0 0 unless \&{"$1::AUTOLOAD";} == \&AUTOLOAD
136 0 1 if (defined &{"$1::AUTOLOAD";}) { }
137 0 0 unless \&{"$1::AUTOLOAD";} == \&AUTOLOAD
147 2 1 if (defined $line and $line =~ /^__END__/)
148 1 1 unless ($line =~ /^__END__\s*DATA/)
149 0 1 if ($endlines)
159 3 0 if @stubs
165 4 8 unless $fullname
166 0 8 if exists $Cache{$fullname}
172 8 0 defined $protoype ? :