Condition Coverage

blib/lib/Number/Continuation.pm
Criterion Covered Total %
condition 19 19 100.0


and 3 conditions

line !l l&&!r l&&r condition
123 6 37 28 defined $prev_number and not $num - $prev_number == 1 || $prev_number - $num == 1

or 2 conditions

line l !l condition
106 1 14 $opts->{'delimiter'} ||= ""
107 1 14 $opts->{'range'} ||= "-"
108 1 14 $opts->{'separator'} ||= ","
111 1 14 $opts->{'delimiters'}[0] ||= ""
112 1 14 $opts->{'delimiters'}[1] ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
123 33 4 28 $num - $prev_number == 1 || $prev_number - $num == 1
169 39 4 30 $num - $prev_number == 1 or $prev_number - $num == 1