blib/lib/Math/Vector/Real/kdTree.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 59 | 16.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
146 | 0 | 0 | 0 | $ix >= 0 and $ix < @$vs |
158 | 0 | 0 | 0 | $c <= $cut and _delete($vs, $s0, $ix) |
0 | 0 | 0 | $c >= $cut and _delete($vs, $s1, $ix) | |
197 | 0 | 0 | 0 | $ix >= 0 and $ix < @$vs |
287 | 0 | 12992 | 0 | @but == 1 and ref $but[0] eq 'HASH' |
334 | 991373 | 692755 | 12992 | $but and $$but{$_} |
511 | 0 | 0 | 6496 | defined $but and ref $but ne 'HASH' |
560 | 0 | 6496 | 0 | @but == 1 and ref $but[0] eq 'HASH' |
603 | 0 | 461806 | 196 | $but and $$but{$_} |
630 | 0 | 0 | 0 | $hidden and $$hidden{$ix} |
1008 | 0 | 0 | 0 | @$remark && (grep(($ix == $_), @$remark) ? Term::ANSIColor::colored($ix, 'red') : $ix) |
line | l | !l | condition |
---|---|---|---|
199 | 0 | 0 | $$self{'hidden'} //= {} |
297 | 67728 | 0 | $rix // (return) |
570 | 6496 | 0 | $rix // (return) |
710 | 0 | 0 | $w[$_] //= 0 |
718 | 0 | 0 | $err ||= 0.5 |
741 | 0 | 0 | $extra{$p} //= ['inf', 'inf'] |
800 | 0 | 0 | $d2[$ix] // 0 |
1003 | 0 | 0 | $$opts{'remark'} // [] |
1011 | 0 | 0 | $$opts{'dump_vectors'} // 1 |
1024 | 0 | 0 | $opts{'tab'} //= ' ' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
626 | 0 | 0 | 0 | not $hidden or @$vs > 20 * keys(%$hidden) |
751 | 0 | 0 | 0 | $d2[$_] //= $d2 |