Condition Coverage

blib/lib/File/RandomLine.pm
Criterion Covered Total %
condition 18 18 100.0


and 3 conditions

line !l l&&!r l&&r condition
20 3 1 1 $algo and not $algo =~ /fast|uniform/i
55 10 46 4 not defined $n and wantarray
62 46 6 2 defined $n and $n == 0

or 2 conditions

line l !l condition
19 2 3 $$args{'algorithm'} || ''
57 2 2 $n ||= 1
64 6 48 $n ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
59 46 8 6 not defined $n or $n =~ /^\d+$/