Branch Coverage

blib/lib/Test/Kit.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
34 11 32 if (grep {ref $_;} @to_include) { }
71 2 42 if ($Test::Builder::VERSION < 1.3 and $package eq 'strict' || $package eq 'warnings') { }
102 43 43 if ($caller_package ne $class)
114 15 28 if $test_kits_cache{$target}
144 36 6 unless $package_include_hashref->{'exclude'}
145 36 6 unless $package_include_hashref->{'rename'}
146 41 1 unless $package_include_hashref->{'import'}
196 0 42 unless $rename
210 832 927 if ($fake_refaddr and $real_refaddr and $fake_refaddr == $real_refaddr)
216 53 779 if (my $existing_refaddr = $test_kits_cache{$target}{$export}{'refaddr'}) { }
217 1 52 if ($existing_refaddr != $real_refaddr)
240 1 27 if ($target->can('import'))