blib/lib/IO/Lambda/Fork.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 50 | 36.0 |
line | true | false | branch |
---|---|---|---|
36 | 0 | 44 | unless (defined $pid) |
37 | 0 | 0 | if $DEBUG |
43 | 8 | 36 | if ($pid == 0) |
45 | 0 | 8 | if $DEBUG |
46 | 8 | 0 | if $cb |
47 | 0 | 8 | if $DEBUG |
48 | 0 | 8 | if $@ |
50 | 0 | 8 | $@ ? : |
53 | 0 | 36 | if $DEBUG |
67 | 0 | 0 | unless defined $pid |
68 | 0 | 0 | unless ($pid) |
69 | 0 | 0 | if $DEBUG |
71 | 0 | 0 | if $DEBUG |
72 | 0 | 0 | if $@ |
73 | 0 | 0 | $@ ? : |
76 | 0 | 0 | if $DEBUG |
91 | 8 | 0 | if $cb |
92 | 0 | 8 | $@ ? : |
93 | 0 | 8 | if $DEBUG > 1 |
98 | 0 | 36 | unless defined $pid |
106 | 0 | 32 | unless close $r |
108 | 0 | 32 | if (not $ok) { } |
113 | 0 | 32 | if (not $msg && ref $msg && ref $msg eq 'ARRAY') { } |
0 | 32 | elsif (0 == shift @$msg) { } | |
124 | 0 | 31 | if $DEBUG > 1 |