Condition Coverage

blib/lib/Versioning/Scheme/Dotted.pm
Criterion Covered Total %
condition 22 27 81.4


and 3 conditions

line !l l&&!r l&&r condition
80 1 3 4 $opts->{'reset_smaller'} and $opts->{'num'} > 0

or 2 conditions

line l !l condition
29 4 3 $opts //= {}
39 0 2 $parts[$opts->{'parts'} - 1] //= 0
42 14 1 $_ // '0'
55 12 0 $parts1[$i] // 0
10 2 $parts2[$i] // 0
63 10 2 $opts //= {}
64 6 6 $opts->{'num'} //= 1
65 5 7 $opts->{'part'} //= -1
66 1 11 $opts->{'reset_smaller'} //= 1
75 9 0 $parts[$idx] //= 0
83 3 0 $parts[$i] //= 0
87 24 0 $_ // 0