Condition Coverage

blib/lib/Math/Vector/Real/kdTree.pm
Criterion Covered Total %
condition 10 84 11.9


and 3 conditions

line !l l&&!r l&&r condition
147 0 0 0 $ix >= 0 and $ix < @$vs
159 0 0 0 $c <= $cut and _delete($vs, $s0, $ix)
0 0 0 $c >= $cut and _delete($vs, $s1, $ix)
198 0 0 0 $ix >= 0 and $ix < @$vs
288 0 12992 0 @but == 1 and ref $but[0] eq 'HASH'
335 967139 676437 12992 $but and $$but{$_}
363 0 0 0 @but == 1 and ref $but[0] eq 'HASH'
402 0 0 0 $but and $$but{$_}
405 0 0 0 $d2 <= $best_d2 and $v1->dist2_to_box($a, $b) == 0
424 0 0 0 @but == 1 and ref $but[0] eq 'HASH'
463 0 0 0 $but and $$but{$_}
466 0 0 0 $d <= $best_d and $v1->chebyshev_dist_to_box($a, $b) == 0
634 0 0 6496 defined $but and ref $but ne 'HASH'
679 0 0 0 defined $but and ref $but ne 'HASH'
725 0 6496 0 @but == 1 and ref $but[0] eq 'HASH'
768 0 443910 180 $but and $$but{$_}
795 0 0 0 $hidden and $$hidden{$ix}
1173 0 0 0 @$remark && (grep(($ix == $_), @$remark) ? Term::ANSIColor::colored($ix, 'red') : $ix)

or 2 conditions

line l !l condition
200 0 0 $$self{'hidden'} //= {}
298 67728 0 $rix // (return)
372 0 0 $rix // (return)
433 0 0 $rix // (return)
735 6496 0 $rix // (return)
875 0 0 $w[$_] //= 0
883 0 0 $err ||= 0.5
906 0 0 $extra{$p} //= ['inf', 'inf']
965 0 0 $d2[$ix] // 0
1168 0 0 $$opts{'remark'} // []
1176 0 0 $$opts{'dump_vectors'} // 1
1189 0 0 $opts{'tab'} //= ' '

or 3 conditions

line l !l&&r !l&&!r condition
791 0 0 0 not $hidden or @$vs > 20 * keys(%$hidden)
916 0 0 0 $d2[$_] //= $d2