Branch Coverage

blib/lib/Iterator/Merger.pm
Criterion Covered Total %
branch 53 64 82.8


line true false branch
27 2 1 unless defined $Has_array_heap
32 24 426 unless my(@ites) = @_
0 32 ref $ite eq 'GLOB' ? :
32 394 if (@ites == 1)
0 3336 if (ref $_ eq 'GLOB')
2 392 if grep {ref $_ ne 'CODE';} @ites
96 4 896 if grep {not ref($_) =~ /^CODE$|^GLOB$/;} @$iterators
98 48 848 if ($nb == 0) { }
64 784 elsif ($nb == 1) { }
532 252 elsif ($nb <= $Max_generate) { }
105 0 64 ref $ite eq 'GLOB' ? :
109 0 532 if ($nb == grep({ref $_ eq 'GLOB';} @$iterators)) { }
115 0 3388 if (ref $_ eq 'GLOB')
127 0 3276 if (ref $_ eq 'GLOB')
132 168 84 if ($Has_array_heap) { }
138 84 84 if ($lex) { }
141 1032 18 if defined $val
146 52583 1032 if (defined($data->[0] = $data->[1]->()))
155 1032 18 if defined $val
160 53449 1032 if (defined($data->[0] = $data->[1]->()))
172 42 42 if ($lex) { }
179 92650 301652 if (defined $_ and !defined($min) || $_ lt $min)
184 29450 4242 if defined $min_i
196 90971 308517 if (defined $_ and !defined($min) || $_ < $min)
201 29802 4242 if defined $min_i
214 0 242 $globs ? :
216 19 0 $asc ? :
19 0 $asc ? :
19 19 $lex ? :
226 0 38 unless eval $str
232 0 9208 $globs ? :
9208 9170 unless defined $j