Branch Coverage

blib/lib/Module/Build/Database/Helpers.pm
Criterion Covered Total %
branch 8 26 30.7


line true false branch
14 0 0 unless $ENV{'MBD_QUIET'}
15 0 0 if $ENV{'MBD_DEBUG'}
18 0 0 $_[0] eq '_silent' ? :
20 0 0 if ($ENV{'MBD_FAKE'} or $ENV{'MBD_DEBUG'})
22 0 0 if $ENV{'MBD_FAKE'}
26 0 0 unless (system("@_") == 0)
27 0 0 if $silent and not $ENV{'HARNESS_ACTIVE'}
38 4 30 ref $$bin{$label} eq 'ARRAY' ? :
41 0 38 if (defined $try and -x "$try/$potential_cmd")
45 0 38 if $found = which($potential_cmd)
47 34 0 unless ($found)
48 30 4 unless $label =~ /doc/
52 0 34 if $^O eq 'MSWin32' and $found =~ /\s/