Branch Coverage

lib/Class/Usul/IPC.pm
Criterion Covered Total %
branch 1 34 2.9


line true false branch
143 0 0 unless (defined $procs)
148 0 0 if (exists $procs->{$pid})
160 0 0 unless $fsystem
168 0 0 if defined $_
180 0 0 if $file = $args->{'file'} and $io = &io($file) and $io->is_file
183 0 0 unless $pid and $pid =~ / \d+ /mx
185 0 0 kill(0, $pid) ? :
199 0 0 if ($ptype == 3) { }
210 0 0 if ($ptype == 1 and &$_proc_belongs_to_user($p->uid, $user) or $ptype == 2 and &$_cmd_matches($p->cmndline, $pat))
225 0 374 unless $attr->{'cmd'} = $cmd
236 0 0 unless @args->is_hashref([0])
243 0 0 if $args->{'pid'}
245 0 0 if ($file = $args->{'file'} and $io = &io($file) and $io->is_file)
247 0 0 if $sig eq 'TERM'
250 0 0 unless defined $pids->[0] and $pids->[0] =~ / \d+ /mx
253 0 0 if (exists $args->{'flag'} and $args->{'flag'} =~ / one /mix)
261 0 0 unless $args->{'force'}