Condition Coverage

blib/lib/POE/Resource/Signals.pm
Criterion Covered Total %
condition 53 66 80.3


and 3 conditions

line !l l&&!r l&&r condition
168 8844 268 0 $signal eq 'BUS' and RUNNING_IN_HELL()
171 8576 536 0 $signal =~ /^CH?LD$/ and exists $INC{'Apache.pm'}
327 45 220 305 not exists $kr_signals{$signal} and exists $_safe_signals{$signal}
265 305 0 not exists $kr_signals{$signal} and exists $_safe_signals{$signal} and $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
341 4 398 221 not exists $kr_signals{$signal} and exists $_safe_signals{$signal}
402 221 0 not exists $kr_signals{$signal} and exists $_safe_signals{$signal} and $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
447 84 200 10 exists $kr_sessions_to_signals{$sid} && exists $kr_sessions_to_signals{$sid}{'CHLD'}
455 1 0 0 exists $kr_sessions_to_pids{$sid} && exists $kr_sessions_to_pids{$sid}{$pid}
525 1 1 2 exists $kr_signals{$signal} && exists $kr_signals{$signal}{$sid}
537 263 5 200 $POE::Kernel::kr_signal_type & 1 and not $POE::Kernel::kr_signal_total_handled
664 172 0 0 RUNNING_IN_HELL() and $pid < -1

or 2 conditions

line l !l condition
315 160 205 $args || []
317 160 205 $args || []
464 210 266 $_signal_types{$signal} || 0

or 3 conditions

line l !l&&r !l&&!r condition
327 16 203 86 $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
341 16 174 31 $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
439 571 5 7738 $kr_has_child_procs or $self->_data_sig_pipe_has_signals
537 3 0 468 $POE::Kernel::kr_signal_type & 2 or $POE::Kernel::kr_signal_type & 1 and not $POE::Kernel::kr_signal_total_handled
664 226 0 172 $pid > 0 or RUNNING_IN_HELL() and $pid < -1
665 0 191 35 RUNNING_IN_HELL() or WIFEXITED($?)
191 35 0 RUNNING_IN_HELL() or WIFEXITED($?) or WIFSIGNALED($?)
758 164 14 2223 $kr_has_child_procs or $self->_data_sig_pipe_has_signals
978 88 0 240 $! == 11 or $! == 11