Branch Coverage

blib/lib/List/Vectorize/lib/List.pl
Criterion Covered Total %
branch 78 94 82.9


line true false branch
9 2 16 if (is_code_ref($value)) { }
27 2 4 if (is_code_ref($value)) { }
59 63 19 if ($i != 0 and $$array[$$order[$i]] != $$array[$$order[$i - 1]])
107 6 52 defined $need_copy ? :
110 14 44 if (is_ref_ref(\$value)) { }
112 77 8 if ($need_copy) { }
142 82 0 if (is_ref_ref(\$value)) { }
146 0 82 if ($@)
162 16 3 if (is_scalar_ref(\$_[$#_])) { }
183 6 2 if ($from < $to) { }
204 8 11 if (is_array_ref($_)) { }
222 263 191 &$function($_[0]) ? :
243 2 42 if (is_code_ref($index)) { }
252 0 42 if ($max_index * $min_index < 0)
255 41 1 if ($min_index >= 0) { }
1 0 elsif ($max_index < 0) { }
276 3 7 if (is_code_ref($index)) { }
281 4 3 if (is_scalar_ref(\$value))
284 0 7 if (len($value) != len($index))
290 0 7 if ($max_index * $min_index < 0)
293 7 0 if ($min_index >= 0) { }
0 0 elsif ($max_index < 0) { }
315 3 37 if (is_array_ref($del_i)) { }
342 80 1 if (len($l)) { }
343 77 3 sum(test($l, sub { $_[0]; } )) == len($l) ? :
354 2 2 sum(test($l, sub { $_[0]; } )) ? :
363 38 1 if (all(sapply($mat, sub { is_array_ref($_[0]); } )))
366 37 1 if (all(sapply($mat, sub { len($_[0]) == $nc; } )))
397 2 8 if (scalar @_ > 2)
409 8 0 if ($J1 == $J2) { }
436 1 6 if (len($array1) != len($array2)) { }
440 6 0 if (sum(mapply($array1, $array2, sub { CORE::abs $_[0] - $_[1] < 1e-08; } )) == len($array1)) { }
460 1 3 unless (defined $d1 and defined $d2 and defined $d3 and defined $d4)
464 1 2 unless ($d1 == $d3 and $d2 == $d4)
469 2 0 if (sum($v) == len($matrix1)) { }
514 4571 7 if (is_array_ref($array)) { }
3 4 elsif (is_hash_ref($array)) { }
2 2 elsif (not defined $array) { }
542 9 5 if $$h{$$array1[$i]}
555 0 7 if scalar @_ < 2
562 5 2 if (scalar @arrays == 0) { }
574 0 7 if scalar @_ < 2
581 5 2 if (scalar @arrays == 0) { }
593 0 4 if scalar @_ < 2
600 3 1 if (scalar @arrays == 0) { }
612 0 7 if scalar @_ < 2
619 5 2 if (scalar @arrays == 0) { }