Condition Coverage

blib/lib/POE/Wheel/Run.pm
Criterion Covered Total %
condition 77 157 49.0


and 3 conditions

line !l l&&!r l&&r condition
124 0 363 0 @_ and ref $_[0] eq 'POE::Kernel'
159 23 12 29 $conduit ne 'pipe' and $conduit ne 'pty'
35 10 19 $conduit ne 'pipe' and $conduit ne 'pty' and $conduit ne 'pty-pipe'
22 2 17 $conduit ne 'pipe' and $conduit ne 'pty' and $conduit ne 'pty-pipe' and $conduit ne 'socketpair'
12 2 15 $conduit ne 'pipe' and $conduit ne 'pty' and $conduit ne 'pty-pipe' and $conduit ne 'socketpair' and $conduit ne 'inet'
178 0 0 0 not $conduit =~ /^pty(-pipe)?$/ and $winsize
181 0 0 0 'ARRAY' eq ref $winsize and 2 == @$winsize
187 0 0 0 ref $winsize eq 'ARRAY' and scalar @$winsize == 4
198 321 12 0 $conduit eq 'pty' and defined $stderr_event
229 330 3 0 defined $redir_in and defined $stdin_event
315 3 15 defined $redir_out and defined $stdout_event
315 3 0 defined $redir_err and defined $stderr_event
238 0 0 0 defined $stderr_event and not defined $stderr_filter
251 291 12 0 $conduit eq 'pty' and defined $stderr_filter
260 132 171 0 defined $stdin_event and not defined $stdin_filter
262 9 294 0 defined $stdout_event and not defined $stdout_filter
264 108 195 0 defined $stderr_event and not defined $stderr_filter
283 0 0 255 defined fileno STDIN and fileno STDIN == 0
285 0 0 255 defined fileno STDOUT and fileno STDOUT == 1
287 0 0 253 defined fileno STDERR and fileno STDERR == 2
330 0 0 10 defined $stderr_read and defined $stderr_write
348 227 0 610 defined $evname and not defined $$redir_ref
350 0 0 610 defined $$rfd_ref and defined $$wfd_ref
356 0 0 276 defined $stdin_write and defined $stdin_read
576 7 230 18 defined $stdout_read and ref $stdout_read eq 'IO::Pty'
580 89 166 0 defined $stderr_read and ref $stderr_read eq 'IO::Pty'
585 7 0 248 $stdout_event and $stdout_read
586 89 0 166 $stderr_event and $stderr_read
733 31 0 217 $stdout_filter->can('get_one') and $stdout_filter->can('get_one_start')
833 23 0 143 $stderr_filter->can('get_one') and $stderr_filter->can('get_one_start')
946 0 0 142 $$self[18] and $$self[15]
947 16 0 126 $$self[23] and $$self[20]
1069 0 0 0 $old_output_filter->can('get_one') and $old_output_filter->can('get_one_start')
1112 0 0 0 $old_output_filter->can('get_one') and $old_output_filter->can('get_one_start')
1365 0 0 0 /\s/ && !/"/
1373 0 0 0 /\s/ && !/"/

or 2 conditions

line l !l condition
539 0 0 $exitval || 0
1311 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
206 0 333 0 delete $params{'StdioDriver'} || 'POE::Driver::SysRW'->new
207 0 333 0 delete $params{'StdinDriver'} || $stdio_driver
208 0 333 0 delete $params{'StdoutDriver'} || $stdio_driver
209 0 333 0 delete $params{'StderrDriver'} || 'POE::Driver::SysRW'->new
229 0 0 333 defined $redir_in and defined $stdin_event or defined $redir_out and defined $stdout_event
15 0 318 defined $redir_in and defined $stdin_event or defined $redir_out and defined $stdout_event or defined $redir_err and defined $stderr_event
285 0 0 255 tied *STDOUT or defined fileno STDOUT and fileno STDOUT == 1
287 2 0 253 tied *STDERR or defined fileno STDERR and fileno STDERR == 2
313 294 0 9 defined $stdout_event or defined $stdin_event
294 2 7 defined $stdout_event or defined $stdin_event or defined $stderr_event
2 5 2 defined $stdout_event or defined $stdin_event or defined $stderr_event or not $no_stdin
322 0 0 22 defined $redir_err or defined $redir_in
0 0 22 defined $redir_err or defined $redir_in or defined $redir_out
354 3 0 276 defined $redir_in or $no_stdin
1048 0 2 0 $@ or $$self[9] != $$self[15]