Condition Coverage

blib/lib/Psh/OS/Unix.pm
Criterion Covered Total %
condition 0 92 0.0


and 3 conditions

line !l l&&!r l&&r condition
109 0 0 0 not $user and -d $ENV{'HOME'}
134 0 0 0 not $ENV{'SHLVL'} and $pwent[8] eq $0
231 0 0 0 $returnpid == $pid and POSIX::WIFSTOPPED($pid_status)
0 0 0 $returnpid == $pid and POSIX::WIFSTOPPED($pid_status) and Psh::OS::signal_name(POSIX::WSTOPSIG($pid_status)) eq 'TTOU'
284 0 0 0 $verb and $visindex > 0
339 0 0 0 $$_[0] == &Psh::Parser::T_REDIRECT() and $$_[1] eq '<&' || $$_[1] eq '>&'
359 0 0 0 $i < $#array and $#array
453 0 0 0 $fgflag and not $forcefork
0 0 0 $fgflag and not $forcefork and ref $code eq 'CODE'
0 0 0 $fgflag and not $forcefork and ref $code eq 'CODE' and not _has_redirects($options)
457 0 0 0 $@ and not $@ =~ /^SECRET/
471 0 0 0 $fgflag and not $termflag
494 0 0 0 $fgflag and not $termflag
625 0 0 0 exists $special_handlers{$sig} and not ref $special_handlers{$sig}

or 2 conditions

line l !l condition
110 0 0 (getpwnam $user)[7] || ''
326 0 0 $text ||= ''
776 0 0 $editor ||= 'editor'
778 0 0 $editor ||= 'vi'

or 3 conditions

line l !l&&r !l&&!r condition
108 0 0 0 shift() || $ENV{'USER'}
211 0 0 0 $$job{'pgrp_leader'} || $pid
332 0 0 0 $forcefork ||= $i < $#array
339 0 0 0 $$_[1] eq '<&' || $$_[1] eq '>&'
355 0 0 0 $i or $pgrp_leader
363 0 0 0 @return_val < 1 or not defined $return_val[0]
470 0 0 0 $pgrp_leader || $$
471 0 0 0 $pgrp_leader || $$
476 0 0 0 not @tmp or $tmp[0]
493 0 0 0 $pgrp_leader || $pid
494 0 0 0 $pgrp_leader || $pid
774 0 0 0 $suggestion || $ENV{'VISUAL'} || $ENV{'EDITOR'}
807 0 0 0 $_ eq '' or substr($_, -1) ne '/'
840 0 0 0 not defined $base or $base eq ''