blib/lib/IPC/RunSession/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 18 | 50.0 |
line | true | false | branch |
---|---|---|---|
65 | 0 | 1 | unless ref $cmd eq 'ARRAY' |
66 | 0 | 1 | unless open3($writer, $reader, undef, @$cmd) |
129 | 4 | 0 | if ($self->_selector->can_read($timeout)) { } |
132 | 1 | 3 | if (not $read_size) { } |
138 | 1 | 2 | unless $marker |
140 | 2 | 0 | if (ref $marker eq 'Regexp') { } |
0 | 0 | elsif (ref $marker eq 'CODE') { } | |
141 | 2 | 0 | if $content =~ /$marker/ |
145 | 0 | 0 | if &$marker($content) |