Condition Coverage

blib/lib/Sort/Naturally.pm
Criterion Covered Total %
condition 17 39 43.5


and 3 conditions

line !l l&&!r l&&r condition
156 0 269 0 @_ and ref $_[0] eq 'ARRAY'
41 20 227 length $x and length $y
0 0 81 length $x2 < 9 and length $1 < 9
0 10 0 @_ and ref $_[0] eq 'ARRAY'
41 20 227 length $x and length $y
0 0 81 length $x2 < 9 and length $1 < 9

or 3 conditions

line l !l&&r !l&&!r condition
156 0 0 0 length $x2 <=> length $y2 || $x2 cmp $y2
0 20 0 length $x <=> length $y || $cmp && (&$cmp($x, $y) || &$cmp($a, $b)) || $x cmp $y || $a cmp $b
208 61 0 $rv ||= length $x <=> length $y || $cmp && (&$cmp($x, $y) || &$cmp($a, $b)) || $x cmp $y || $a cmp $b
10 0 0 @_ > 1 or wantarray
0 0 0 length $x2 <=> length $y2 || $x2 cmp $y2
0 20 0 length $x <=> length $y || $cmp && (&$cmp($x, $y) || &$cmp($$a[0], $$b[0])) || $x cmp $y || $$a[0] cmp $$b[0]
208 61 0 $rv ||= length $x <=> length $y || $cmp && (&$cmp($x, $y) || &$cmp($$a[0], $$b[0])) || $x cmp $y || $$a[0] cmp $$b[0]