Branch Coverage

blib/lib/XS/Install/Util.pm
Criterion Covered Total %
branch 9 44 20.4


line true false branch
14 0 8 unless my $info = XS::Install::Payload::binary_module_info($module)
17 1 7 unless $modules{$d_module}
33 0 10 unless $scores{$a} <=> $scores{$b}
47 0 0 unless open $fh_lock, '>', $lock_file
48 0 0 if ($fh_lock)
50 0 0 unless $ok
53 0 0 unless my $info = XS::Install::Payload::binary_module_info($module)
58 0 0 unless @{$info->{'BIN_DEPENDENT'};}
60 0 0 unless ($ok)
63 0 0 if ($fh_lock)
65 0 0 if flock $fh_lock, 8
78 0 0 if ($arg =~ s/^-I//) { }
0 0 elsif ($arg eq '-xs') { }
106 0 0 if (@touch_list)
117 0 0 unless my $list = $deps->{$file}
118 0 0 $reference_file_sub ? :
119 0 0 unless my $reference_time = (stat $reference_file)[9]
122 0 0 if $mtime <= $reference_time
139 2 2 if (-e $file)
141 0 2 unless ($mode & 128)
149 0 4 unless open my $fh, '>', $temp_file
154 0 4 if $restore_mode