Condition Coverage

blib/lib/App/hopen.pm
Criterion Covered Total %
condition 31 78 39.7


and 3 conditions

line !l l&&!r l&&r condition
333 0 4 0 defined $v2 and !&looks_like_number($v2) || int $v2 < 0
471 4 0 2 isMYH($fn) and not defined $opts{'phase'}
741 2 0 2 $myhopen and -e $myhopen
789 2 0 2 $myhopen and not $opts{'BUILD'}
922 0 4 0 not $App::hopen::QUIET and $opts{'VERBOSE'}

or 2 conditions

line l !l condition
283 44 12 $_->[1] // ''
331 0 4 $hrOptsOut->{'VERBOSE2'} // 0
335 4 0 $v2 // 0
580 0 0 shift() // ''
0 0 shift() // ''
0 0 shift() // ''
0 0 shift() // ''
905 4 0 shift() // []
917 0 4 $opts{'QUIET'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
287 0 0 4 not $opts_ok or have('usage')
0 0 4 not $opts_ok or have('usage') or have('h')
0 0 4 not $opts_ok or have('usage') or have('h') or have('man')
327 0 0 0 $hrOptsOut->{'DEST_DIR'} //= $params{'from'}[0]
328 0 0 0 $hrOptsOut->{'PROJ_DIR'} //= $params{'from'}[1]
333 0 0 4 !&looks_like_number($v2) || int $v2 < 0
650 2 0 2 $App::hopen::Build->empty or $opts{'norun'}
704 0 4 0 $opts{'PHASE'} // $App::hopen::PHASES[0]
747 0 0 2 $stat->mtime > $myhstat->mtime or $stat->ctime > $myhstat->ctime
768 0 0 0 $myhopen // ()
771 2 2 0 $myhopen or @$lrHopenFiles
796 0 2 2 $opts{'BUILD'} or $_did_set_phase
2 0 2 $opts{'BUILD'} or $_did_set_phase or $App::hopen::QUIET
814 0 4 0 $opts{'TOOLSET'} //= $App::hopen::Generator->default_toolset
850 2 2 0 next_phase($App::hopen::Phase) // $App::hopen::Phase