Branch Coverage

blib/lib/Test/Load/Helper.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
18 2 15 if exists $INC{$key}
36 1 14 if $@
50 38 19 if $file eq __FILE__
51 19 0 if -f $file
64 1 18 if exists $args{'into'}
69 18 18 if $package eq __PACKAGE__
82 0 19 exists $args{'caller_file'} ? :
88 18 1 $ENV{'TEST_LOAD_ROOT'} ? :
95 17 13 if $candidate ne $caller_file and $candidate->exists
101 2 11 if $caller_dir eq $root
107 0 11 if $parent eq $caller_dir
120 0 19 unless my $caller_package = $class->identify_caller_package(%args)
123 2 17 unless my $helper_file = $class->identify_helper_file(%args)