Branch Coverage

blib/lib/Module/Build/JSAN/Installable.pm
Criterion Covered Total %
branch 11 68 16.1


line true false branch
33 0 0 unless $self->install_base
54 0 0 unless -d $static_dir
128 0 0 unless $seen
130 0 0 if $$seen{$task_name}
134 0 0 /^\+(.+)/ ? :
146 0 0 if ($task_name eq 'all') { }
154 0 0 unless @components > 0
178 0 0 if ($component =~ /^jsan:(.+)/) { }
0 0 elsif ($component =~ /^=(.+)/) { }
198 0 0 if ($result == 1) { }
234 1 0 unless (-e $doc_dir)
235 0 1 unless File::Path::mkpath($doc_dir, 0, 493)
242 0 1 if ($markup eq 'pod') { }
0 1 elsif ($markup eq 'md') { }
1 0 elsif ($markup eq 'mmd') { }
306 1 0 -e $separate_docs_file ? :
320 2 0 unless (-e $format_dir)
321 0 2 unless File::Path::mkpath($format_dir, 0, 493)
334 2 0 unless (-e $res_dir)
335 0 2 unless File::Path::mkpath($res_dir, 0, 493)
340 0 2 unless open my $fh, '>', $res
372 0 0 unless (-e $dir)
373 0 0 unless File::Path::mkpath($dir, 0, 493)
393 0 0 unless (-e $dir)
394 0 0 unless File::Path::mkpath($dir, 0, 493)
398 0 0 if -e $pod
401 0 0 unless open my $fh, '>', $pod
419 0 0 unless (-e $dir)
420 0 0 unless File::Path::mkpath($dir, 0, 493)
423 0 0 unless open my $fh, '>', $html
438 0 0 unless (-e $dir)
439 0 0 unless File::Path::mkpath($dir, 0, 493)
442 0 0 unless open $fh, '>', $txt
460 0 0 unless my $fh = 'IO::File'->new(">> $file")