Branch Coverage

blib/lib/XS/Install/Payload.pm
Criterion Covered Total %
branch 17 32 53.1


line true false branch
13 102 31 if (my $path = $INC{"$module.pm"})
16 102 0 if -d $pldir
21 0 341 if -d $pldir
28 0 0 unless my $data_dir = data_dir(@_)
30 0 0 if -d $dir
35 0 31 unless my $data_dir = data_dir(@_)
37 31 0 if -d $dir
42 0 31 unless my $data_dir = data_dir(@_)
44 31 0 if -d $dir
49 31 9 unless my $data_dir = data_dir(@_)
56 40 22 unless ($info)
57 31 9 unless my $file = binary_module_info_file($module)
58 0 9 unless -f $file
59 0 9 unless $info = do $file
60 0 9 unless (ref $info eq 'HASH')
73 0 0 if (not $version and my $vsub = $module->can('VERSION'))