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 9376 293 0 $signal eq "BUS" and RUNNING_IN_HELL()
171 9083 586 0 $signal =~ /^CH?LD$/ and exists $INC{'Apache.pm'}
327 45 234 330 not exists $kr_signals{$signal} and exists $_safe_signals{$signal}
234 136 194 not exists $kr_signals{$signal} and exists $_safe_signals{$signal} and $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
341 4 426 239 not exists $kr_signals{$signal} and exists $_safe_signals{$signal}
426 80 159 not exists $kr_signals{$signal} and exists $_safe_signals{$signal} and $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
449 126 332 0 exists $kr_sessions_to_signals{$sid} && exists $kr_sessions_to_signals{$sid}{'CHLD'}
456 1 0 0 exists $kr_sessions_to_pids{$sid} && exists $kr_sessions_to_pids{$sid}{$pid}
526 1 3 0 exists $kr_signals{$signal} && exists $kr_signals{$signal}{$sid}
537 272 5 214 $POE::Kernel::kr_signal_type & 1 and not $POE::Kernel::kr_signal_total_handled
664 141 0 0 RUNNING_IN_HELL() and $pid < -1

or 2 conditions

line l !l condition
315 160 219 $args || []
317 160 219 $args || []
464 224 275 $_signal_types{$signal} || 0

or 3 conditions

line l !l&&r !l&&!r condition
327 16 178 136 $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
341 16 143 80 $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
439 840 0 8047 $kr_has_child_procs or $self->_data_sig_pipe_has_signals
537 3 424 67 $POE::Kernel::kr_signal_type & 2 or $POE::Kernel::kr_signal_type & 1 and not $POE::Kernel::kr_signal_total_handled
664 235 0 141 $pid > 0 or RUNNING_IN_HELL() and $pid < -1
665 0 197 38 RUNNING_IN_HELL() or WIFEXITED($?)
197 38 0 RUNNING_IN_HELL() or WIFEXITED($?) or WIFSIGNALED($?)
758 205 14 2315 $kr_has_child_procs or $self->_data_sig_pipe_has_signals
981 82 0 272 $! == 11 or $! == 11