line |
true |
false |
branch |
35
|
4437 |
0 |
if ($#_ == 0) { } |
|
0 |
0 |
elsif ($#_ == 1) { } |
55
|
2980 |
218 |
if ($#_ == 0) { } |
|
218 |
0 |
elsif ($#_ == 1) { } |
68
|
10085 |
218 |
if ($#_ == 0) { } |
|
218 |
0 |
elsif ($#_ == 1) { } |
81
|
2487 |
3092 |
if ($#_ == 0) { } |
|
3092 |
0 |
elsif ($#_ == 1) { } |
85
|
136 |
2351 |
unless (exists $self->{'_ordered_count'}) |
99
|
2318 |
605 |
if ($#_ == 0) { } |
|
605 |
0 |
elsif ($#_ == 1) { } |
103
|
164 |
2154 |
unless (exists $self->{'_ordered_responses'}) |
117
|
7792 |
626 |
if ($#_ == 0) { } |
|
626 |
0 |
elsif ($#_ == 1) { } |
120
|
61 |
7731 |
unless (exists $self->{'max_children'}) |
127
|
554 |
72 |
if (defined $val) |
128
|
92 |
462 |
unless ($val =~ /^[0-9]+$/s) |
131
|
46 |
416 |
if ($val <= 0) |
149
|
31726 |
218 |
if ($#_ == 0) { } |
|
218 |
0 |
elsif ($#_ == 1) { } |
153
|
313 |
31413 |
unless (exists $self->{'_subprocs'}) |
168
|
0 |
218 |
if ($#_ == 0) { } |
|
218 |
0 |
elsif ($#_ == 1) { } |
172
|
0 |
0 |
unless (exists $self->{'_count'}) |
187
|
0 |
325 |
if ($#_ == 0) { } |
|
325 |
0 |
elsif ($#_ == 1) { } |
202
|
15846 |
218 |
if ($#_ == 0) { } |
|
218 |
0 |
elsif ($#_ == 1) { } |
205
|
275 |
15571 |
unless (exists $self->{'_queued_children'}) |
235
|
92 |
233 |
if (scalar @_ > 0) |
236
|
46 |
46 |
scalar @_ == 1 ? : |
238
|
0 |
92 |
if (exists $args{'use_anyevent'}) |
241
|
92 |
0 |
if (exists $args{'max_children'}) |
251
|
0 |
4250 |
if ($#_ < 1) |
256
|
7 |
4243 |
unless (_codelike($sub)) |
261
|
2487 |
1756 |
if (scalar @_ == 0) { } |
|
1756 |
0 |
elsif (scalar @_ == 1) { } |
271
|
1931 |
0 |
if (defined $selfref) |
283
|
0 |
4243 |
if (defined $self->_last_error) |
289
|
4031 |
212 |
if ($pid) { } |
302
|
0 |
4031 |
if ($self->use_anyevent) |
318
|
0 |
79 |
if ($#_ < 2) |
322
|
0 |
79 |
if (scalar @_ > 1) |
324
|
0 |
79 |
unless ($children =~ /^[1-9][0-9]*$/s) |
336
|
0 |
212 |
if (scalar @_ != 3) |
357
|
0 |
3367 |
if ($#_ != 0) |
361
|
387 |
2980 |
if (scalar keys %{$self->_subprocs;} == 0) |
362
|
0 |
387 |
if ($self->use_anyevent) |
370
|
0 |
2980 |
if (defined $self->_cv) |
372
|
0 |
0 |
if (defined $self->_last_error) |
383
|
2947 |
0 |
if ($self->_waitone) |
392
|
0 |
387 |
if ($#_ != 0) |
405
|
0 |
372 |
if ($#_ != 0) |
411
|
0 |
368 |
if (defined $self->_last_error) |
424
|
0 |
3352 |
if ($#_ != 0) |
429
|
8 |
3344 |
unless (keys %$sp) |
440
|
8814 |
0 |
if (defined $fh->fileno) |
441
|
3344 |
5470 |
if ($fh->fileno == $sp->{$child}{'fh'}->fileno) |
462
|
0 |
8 |
if ($#_ != 1) |
467
|
0 |
8 |
if (defined $self->_last_error) |
479
|
0 |
8 |
if ($#_ != 1) |
482
|
4 |
4 |
unless (exists $self->_subprocs->{$pid}) |
499
|
0 |
7292 |
if ($#_ != 0) |
508
|
0 |
2302 |
if ($#_ < 1) |
513
|
7 |
2295 |
unless (_codelike($sub)) |
518
|
1159 |
1136 |
if (scalar @_ == 0) { } |
|
1136 |
0 |
elsif (scalar @_ == 1) { } |
528
|
0 |
2295 |
if (defined $self->_last_error) |
535
|
0 |
205 |
if ($#_ != 2) |
542
|
0 |
7 |
if ($#_ != 2) |
549
|
0 |
212 |
if ($#_ != 3) |
553
|
1 |
211 |
if (&blessed($data) and $data->can('FREEZE') and $data->can('THAW')) { } |
559
|
0 |
210 |
unless (defined $msg) |
578
|
0 |
3348 |
if ($#_ != 1) |
582
|
0 |
3348 |
if (defined $cinfo->{'rawbuff'}) { } |
590
|
0 |
0 |
if ($#_ != 1) |
599
|
0 |
0 |
unless (defined $type) |
600
|
0 |
0 |
unless (defined $size) |
604
|
0 |
0 |
if ($class eq '') { } |
614
|
0 |
0 |
if ($type eq 'RESULT') { } |
624
|
0 |
0 |
if ($self->use_anyevent) { } |
637
|
0 |
3348 |
if ($#_ != 1) |
644
|
0 |
3348 |
unless (defined $type) |
660
|
3348 |
0 |
if (defined $ret) |
665
|
3347 |
1 |
if ($class eq '') { } |
675
|
3329 |
19 |
if ($type eq 'RESULT') { } |
685
|
0 |
19 |
if ($self->use_anyevent) { } |
700
|
0 |
6108 |
if ($#_ != 0) |
703
|
2937 |
3171 |
unless (@{$self->_queued_children;}) |
704
|
0 |
3171 |
if (defined $self->_last_error) |
708
|
2183 |
1828 |
if (not defined $self->max_children or $self->count < $self->max_children) { } |
711
|
1103 |
1080 |
if (not defined $ele->[1]) { } |
728
|
0 |
0 |
if ($#_ < 1) |
729
|
0 |
0 |
if ($#_ > 2) |
732
|
0 |
0 |
if (not $old and $new) { } |
|
0 |
0 |
elsif ($old and not $new) { } |
736
|
0 |
0 |
if (defined $self->_subprocs) |
747
|
0 |
0 |
if (defined $self->_subprocs) |
762
|
0 |
0 |
if ($#_ != 1) |
772
|
0 |
0 |
if (scalar keys %{$self->_subprocs;} == 0) |
788
|
0 |
218 |
if ($#_ != 0) |
809
|
0 |
5 |
if ($#_ != 1) |
814
|
0 |
5 |
unless (_codelike($sub)) |
820
|
2 |
3 |
unless ($pid) |
833
|
0 |
6557 |
if (scalar @_ != 1) |
836
|
6543 |
14 |
if (&reftype($thing)) |
837
|
0 |
14 |
if (&blessed($thing) and overload::Method($thing, "()")) |
846
|
1 |
283 |
if (scalar keys %{$self->_subprocs;}) |