Branch Coverage

blib/lib/Versioning/Scheme/Monotonic.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
24 6 7 $v =~ /$re/x ? :
29 0 0 unless my($c, $r, $mark, $meta) = $v =~ /$re/
42 1 2 unless $v =~ /$re/x
44 0 2 defined $4 ? :
50 1 7 unless my($c1, $r1, undef, $m1) = $v1 =~ /$re/x
51 1 6 unless my($c2, $r2, undef, $m2) = $v2 =~ /$re/x
53 4 2 unless $c1 <=> $c2 or $r1 <=> $r2
62 1 14 unless my($c, $r, $mark, $meta) = $v =~ /$re/x
63 0 14 unless $opts->{'num'} != 0
64 2 12 unless $opts->{'part'} =~ /\A(0|1)\z/
66 2 10 if ($opts->{'part'} == 0) { }
67 0 2 if ($c + $opts->{'num'} < 1)
70 1 1 $opts->{'num'} < 0 ? :
0 2 if ($r + ($opts->{'num'} < 0 ? -1 : 1) < 1)
74 1 1 $opts->{'num'} < 0 ? :
76 3 7 if ($r + $opts->{'num'} < 1)
81 1 8 defined $mark ? :
0 9 defined $meta ? :