Condition Coverage

lib/Class/Usul/IPC.pm
Criterion Covered Total %
condition 0 41 0.0


and 3 conditions

line !l l&&!r l&&r condition
180 0 0 0 $file = $args->{'file'} and $io = &io($file)
0 0 0 $file = $args->{'file'} and $io = &io($file) and $io->is_file
183 0 0 0 $pid and $pid =~ / \d+ /mx
210 0 0 0 $ptype == 1 and &$_proc_belongs_to_user($p->uid, $user)
0 0 0 $ptype == 2 and &$_cmd_matches($p->cmndline, $pat)
245 0 0 0 $file = $args->{'file'} and $io = &io($file)
0 0 0 $file = $args->{'file'} and $io = &io($file) and $io->is_file
250 0 0 0 defined $pids->[0] and $pids->[0] =~ / \d+ /mx
253 0 0 0 exists $args->{'flag'} and $args->{'flag'} =~ / one /mix

or 2 conditions

line l !l condition
164 0 0 $self->run_cmd("fuser $fsystem", $opts)->out || ''
192 0 0 $args->{'type'} // 1
241 0 0 $args->{'sig'} // 'TERM'
0 0 $args->{'pids'} // []

or 3 conditions

line l !l&&r !l&&!r condition
193 0 0 0 $args->{'user'} // &get_user()->name
210 0 0 0 $ptype == 1 and &$_proc_belongs_to_user($p->uid, $user) or $ptype == 2 and &$_cmd_matches($p->cmndline, $pat)