Condition Coverage

blib/lib/Spawn/Safe.pm
Criterion Covered Total %
condition 9 14 64.2


or 2 conditions

line l !l condition
193 14 0 $$params{'timeout'} || undef
194 2 12 $$params{'stdin'} || undef
256 10 0 'IO::Select'->new($parent_read_stdout, $parent_read_stderr, $parent_read_errors) || die('Failed to create IO::Select object!')
261 1 0 'IO::Select'->new($parent_write_stdin) || die('Failed to create IO::Select object!')

or 3 conditions

line l !l&&r !l&&!r condition
277 0 26 40 not defined $r or $r < 1
317 0 2 83 $timenow < $start_time or $select_time <= 0