Branch Coverage

blib/lib/Class/Injection.pm
Criterion Covered Total %
branch 1 66 1.5


line true false branch
28 1 0 unless ($target)
40 0 0 if (ref $secondvalue) { }
46 0 0 $DEBUG || $secondvalue->{'debug'} =~ /^(true|yes|1)$/i ? :
48 0 0 $secondvalue->{'replace'} =~ /^(true|yes|1)$/i ? :
55 0 0 if ($copymethod eq 'replace')
67 0 0 if ($priority < $Class::Injection::counter_neg)
71 0 0 if ($priority < $Class::Injection::counter_pos)
78 0 0 if ($priority eq '')
79 0 0 if ($copymethod eq 'insert') { }
88 0 0 unless ($target)
114 0 0 if ($DEBUG)
130 0 0 unless ('Class::Inspector'->loaded($source))
131 0 0 unless ('Class::Inspector'->installed($source))
185 0 0 if ($col->{$source}{'replacetarget'})
228 0 0 unless ($replace_target->{$target})
246 0 0 if ($met_returntype)
250 0 0 if ($met_returnmethod)
268 0 0 if ($priority < 0)
272 0 0 if (0 < $priority)
284 0 0 if ($returntype eq 'array') { }
0 0 elsif ($returntype eq 'scalar') { }
0 0 elsif ($returntype eq 'hash') { }
298 0 0 if ($returnmethod eq 'last')
301 0 0 if ($returnmethod eq 'all')
304 0 0 if ($returnmethod eq 'original')
307 0 0 if ($returnmethod eq 'collect')
316 0 0 if ($returnmethod eq 'collect') { }
335 0 0 if ($DEBUG)
346 0 0 if $DEBUG
349 0 0 if ($@)
414 0 0 if ($param->{'replacetarget'})
422 0 0 if ($priority < 0) { }
438 0 0 unless $replacetarget