Branch Coverage

blib/lib/Class/C3/Componentised.pm
Criterion Covered Total %
branch 27 32 84.3


line true false branch
67 2 8 /^\+(.*)$/ ? :
88 1 9 unless @_
107 1 1 /^\+(.*)$/ ? :
133 0 19 if ${"${f_class}::VERSION";}
135 2 17 if @{"${f_class}::ISA";}
138 0 17 if $INC{$file}
141 3 33 if *{"${f_class}::$_";}{'CODE'}
146 8 6 unless (eval { do { local $_; require $file } })
148 1 7 if $f_class =~ /$invalid_class/
150 0 8 if ($class->can('throw_exception')) { }
192 7 0 unless ($target eq $comp or $target->isa($comp))
194 4 3 if (my $apply_class = &List::Util::first(sub { $APPLICATOR_FOR{$_}; } , @{&mro::get_linear_isa($comp);})) { }
217 3 6 if eval { do { $class->ensure_class_loaded($f_class); 1 } }
224 1 5 if ($f_class =~ /$invalid_class/) { }
229 3 2 if $err =~ /Can't locate $fn in \@INC/
232 0 3 if ($class->can('throw_exception')) { }