Branch Coverage

blib/lib/App/hopen.pm
Criterion Covered Total %
branch 0 108 0.0


line true false branch
196 0 0 if (not $opts_ok or have('usage') or have('h') or have('man'))
204 0 0 unless $@
210 0 0 unless $opts_ok
212 0 0 if have('usage')
214 0 0 if have('h')
221 0 0 if have('man')
236 0 0 if @{$params{'from'};}
237 0 0 if @{$params{'from'};} > 1
241 0 0 if $v2 eq ''
242 0 0 if defined $v2 and !&looks_like_number($v2) || int $v2 < 0
302 0 0 unless my $fn = shift()
304 0 0 if $opts{'phase'}
327 0 0 $opts{'quiet'} ? :
344 0 0 $opts{'quiet'} ? :
351 0 0 if ($opts{'libs'})
366 0 0 if (ref $fn eq 'HASH') { }
371 0 0 defined $opts{'phase'} ? :
380 0 0 if (isMYH($fn) and not defined $opts{'phase'}) { }
389 0 0 isMYH($fn) ? :
420 0 0 unless ($setting_phase_allowed)
490 0 0 if $@
503 0 0 if $hrAddlData
537 0 0 if $opts{'phase'}
539 0 0 unless ref $lrHopenFiles eq 'ARRAY'
550 0 0 $App::hopen::Build->empty ? :
559 0 0 if $App::hopen::Build->empty or $opts{'norun'}
591 0 0 if ($opts{'PRINT_VERSION'})
592 0 0 if ($VERSION =~ /^([^\.]+)\.(\d{3})(\d{3})/u) { }
597 0 0 if $App::hopen::VERBOSE >= 1
605 0 0 unless defined phase_idx($App::hopen::Phase)
610 0 0 $opts{'PROJ_DIR'} ? :
615 0 0 if ($opts{'DEST_DIR'}) { }
623 0 0 if $proj_dir eq $dest_dir
630 0 0 if -e $proj_dir->file('MY.hopen.pl')
641 0 0 if ($myhopen and -e $myhopen)
647 0 0 if ($stat->mtime > $myhstat->mtime or $stat->ctime > $myhstat->ctime)
650 0 0 unless $App::hopen::QUIET
658 0 0 if ($opts{'EVAL'})
668 0 0 ref $_ eq 'HASH' ? :
671 0 0 unless $myhopen or @$lrHopenFiles
677 0 0 unless File::Path::Tiny::mk($dest_dir)
685 0 0 unless $App::hopen::QUIET
689 0 0 if ($myhopen and not $opts{'BUILD'})
696 0 0 unless $opts{'BUILD'} or $_did_set_phase or $App::hopen::QUIET
702 0 0 unless $gen_class
707 0 0 unless $gen = "$gen_class"->new('proj_dir', $proj_dir, 'dest_dir', $dest_dir, 'architecture', $opts{'ARCHITECTURE'})
717 0 0 unless $toolset_class
724 0 0 if ($opts{'BUILD'})
732 0 0 if (@$lrHopenFiles) { }
813 0 0 if $opts{'VERBOSE2'} > $opts{'VERBOSE'}
816 0 0 if $opts{'QUIET'}
822 0 0 if (not $App::hopen::QUIET and $opts{'VERBOSE'})
837 0 0 unless $App::hopen::VERBOSE >= 3
843 0 0 if ($msg)