Condition Coverage

blib/lib/POE/Resource/Signals.pm
Criterion Covered Total %
condition 52 66 78.7


and 3 conditions

line !l l&&!r l&&r condition
168 8877 269 0 $signal eq 'BUS' and RUNNING_IN_HELL()
171 8608 538 0 $signal =~ /^CH?LD$/ and exists $INC{'Apache.pm'}
327 45 221 319 not exists $kr_signals{$signal} and exists $_safe_signals{$signal}
266 319 0 not exists $kr_signals{$signal} and exists $_safe_signals{$signal} and $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
341 4 400 244 not exists $kr_signals{$signal} and exists $_safe_signals{$signal}
404 244 0 not exists $kr_signals{$signal} and exists $_safe_signals{$signal} and $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
447 112 350 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 277 5 201 $POE::Kernel::kr_signal_type & 1 and not $POE::Kernel::kr_signal_total_handled
664 173 0 0 RUNNING_IN_HELL() and $pid < -1

or 2 conditions

line l !l condition
315 160 206 $args || []
317 160 206 $args || []
464 211 280 $_signal_types{$signal} || 0

or 3 conditions

line l !l&&r !l&&!r condition
327 16 204 99 $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
341 16 175 53 $signal ne 'CHLD' || !scalar(keys %kr_sessions_to_pids)
439 868 0 7913 $kr_has_child_procs or $self->_data_sig_pipe_has_signals
537 3 0 483 $POE::Kernel::kr_signal_type & 2 or $POE::Kernel::kr_signal_type & 1 and not $POE::Kernel::kr_signal_total_handled
664 240 0 173 $pid > 0 or RUNNING_IN_HELL() and $pid < -1
665 0 204 36 RUNNING_IN_HELL() or WIFEXITED($?)
204 36 0 RUNNING_IN_HELL() or WIFEXITED($?) or WIFSIGNALED($?)
758 224 14 2223 $kr_has_child_procs or $self->_data_sig_pipe_has_signals
981 88 0 259 $! == 11 or $! == 11