Branch Coverage

blib/lib/MRO/Compat.pm
Criterion Covered Total %
branch 1 54 1.8


line true false branch
14 0 3 if ($] < 5.009005) { }
28 0 0 if ($Class::C3::XS::VERSION and $Class::C3::XS::VERSION > 0.03) { }
133 0 0 unless defined $classname
136 0 0 if ($type eq 'dfs') { }
0 0 elsif ($type eq 'c3') { }
155 0 0 if ($_[1])
156 0 0 if $_[1] eq 'c3'
172 0 0 unless (defined $classname and $type)
176 0 0 if ($type eq 'c3') { }
0 0 elsif ($type eq 'dfs') { }
178 0 0 if $@
182 0 0 if (defined $Class::C3::MRO{$classname})
205 0 0 unless defined $classname
206 0 0 if exists $Class::C3::MRO{$classname}
231 0 0 if (defined $search) { }
241 0 0 if scalar @$isa
244 0 0 if ($cand =~ s/::$//)
245 0 0 if $cand eq $search
258 0 0 if $level > 100
265 0 0 if ($_ eq $class)
270 0 0 if ($found_me)
281 0 0 unless defined $classname
300 0 0 unless defined $classname
304 0 0 if $classname eq $_
344 0 0 unless defined $classname
362 0 0 unless defined $classname
369 0 0 unless defined $classname