blib/lib/Mojo/IOLoop/ForkCall.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 30 | 66.6 |
line | true | false | branch |
---|---|---|---|
35 | 10 | 12 | if @_ and ref $_[0] eq 'ARRAY' |
36 | 19 | 3 | if @_ |
41 | 0 | 22 | unless defined $child |
43 | 0 | 22 | if ($child == 0) { } |
59 | 0 | 0 | if $@ |
81 | 1 | 21 | if $self->weaken |
83 | 0 | 0 | if $self |
87 | 0 | 22 | unless $$ == $parent |
95 | 2 | 20 | if ($@) |
96 | 2 | 0 | if $self |
101 | 18 | 2 | if $cb |
102 | 2 | 18 | if $@ and $self |
105 | 18 | 1 | if $self |
106 | 1 | 18 | if $@ and $self |
136 | 0 | 0 | unless defined syswrite($h, $data) |