Branch Coverage

blib/lib/CPAN/Static/Install.pm
Criterion Covered Total %
branch 14 44 31.8


line true false branch
27 0 1 unless open my $fh, ">", $filename
32 0 3 unless open my $fh, "<", $filename
47 0 1 defined $arg ? :
53 0 0 unless ($meta)
54 0 0 unless -f "META.json"
58 0 0 $static_version == 1 ? :
63 0 1 if defined $args{'static_version'} and int $args{'static_version'} != 1
64 0 1 if builtin::blessed($args{'config'})
74 0 0 if -e $output_file and -M $input_file <= -M $output_file
76 0 0 unless -d $dirname
79 0 0 if $opts->{'verbose'} and $opts->{'verbose'} > 0
86 6 12 if /$pattern/ and -f $_
6 0 if -d $dir
92 0 0 unless -T $file
101 0 3 ref $right->{$key} eq 'HASH' ? :
131 0 1 if ($opt{'install_paths'}->is_default_installable("bindoc"))
134 0 0 unless contains_pod($input)
139 0 1 if ($opt{'install_paths'}->is_default_installable("libdoc"))
142 0 0 unless contains_pod($input)
152 0 1 unless -d "blib"
161 0 1 if $tester->runtests(sort(find(qr/\.t$/, "t")))->has_errors
167 0 1 unless -d "blib"