Branch Coverage

blib/lib/Mojo/IOLoop/ForkCall.pm
Criterion Covered Total %
branch 20 30 66.6


line true false branch
37 10 12 if @_ and ref $_[0] eq 'ARRAY'
38 19 3 if @_
43 0 22 unless defined $child
45 0 22 if ($child == 0) { }
61 0 0 if $@
83 1 21 if $self->weaken
85 0 0 if $self
89 0 22 unless $$ == $parent
97 2 20 if ($@)
98 2 0 if $self
103 18 2 if $cb
104 2 18 if $@ and $self
107 18 1 if $self
108 1 18 if $@ and $self
138 0 0 unless defined syswrite($h, $data)