Branch Coverage

blib/lib/Class/C3/Componentised.pm
Criterion Covered Total %
branch 28 32 87.5


line true false branch
71 2 8 /^\+(.*)$/ ? :
92 1 9 unless @_
109 1 1 /^\+(.*)$/ ? :
137 1 18 if ${"${f_class}::VERSION";}
139 2 16 if @{"${f_class}::ISA";}
142 0 16 if $INC{$file}
145 3 30 if *{"${f_class}::$_";}{'CODE'}
150 8 5 unless (eval { do { local $_; require $file } })
152 1 7 if $f_class =~ /$invalid_class/
154 0 8 if ($class->can('throw_exception')) { }
201 7 0 unless ($target eq $comp or $target->isa($comp))
203 4 3 if (my $apply_class = &List::Util::first(sub { $APPLICATOR_FOR{$_}; } , @{&mro::get_linear_isa($comp);})) { }
226 3 6 if eval { do { $class->ensure_class_loaded($f_class); 1 } }
233 1 5 if ($f_class =~ /$invalid_class/) { }
238 3 2 if $err =~ /Can't locate $fn in \@INC/
241 0 3 if ($class->can('throw_exception')) { }