Branch Coverage

blib/lib/Class/C3.pm
Criterion Covered Total %
branch 10 56 17.8


line true false branch
12 20 0 if ($] > 5.009004) { }
0 0 elsif ($C3_XS or not defined $C3_XS) { }
23 0 0 if ($error) { }
24 0 0 unless $error =~ /\blocate\b/
26 0 0 if ($C3_XS)
67 2 83 if $class eq 'main'
69 0 83 if $TURN_OFF_C3
70 83 0 if $C3_IN_CORE
74 83 0 unless exists $MRO{$class}
87 0 21 unless keys %MRO
88 21 0 if ($C3_IN_CORE) { }
92 0 0 if ($_initialized)
105 0 4 unless keys %MRO
106 4 0 if ($C3_IN_CORE) { }
122 0 0 if $C3_IN_CORE
130 0 0 if $C3_IN_CORE
146 0 0 if not defined $has_overload_fallback and defined ${"${local}::()";}
149 0 0 if defined *{"${class}::$method";}{'CODE'}
153 0 0 unless exists $methods{$method}
162 0 0 if $C3_IN_CORE
169 0 0 if $C3_IN_CORE
174 0 0 if not defined &{"${class}::()";} and defined $MRO{$class}{'has_overload_fallback'}
176 0 0 if ($method =~ /^\(/)
178 0 0 if defined $$orig
185 0 0 if $C3_IN_CORE
192 0 0 if $C3_IN_CORE
195 0 0 if $MRO{$class}{'has_overload_fallback'}
199 0 0 if defined *{"${class}::$method";}{'CODE'} and *{"${class}::$method";}{'CODE'} eq $MRO{$class}{'methods'}{$method}{'code'}