Branch Coverage

blib/lib/Version/Next.pm
Criterion Covered Total %
branch 29 30 96.6


line true false branch
20 1 105 if ($version eq 'undef')
25 4 101 if ($version =~ /^\./)
27 2 2 $num_dots > 1 ? :
31 1 100 if ($version =~ /\.$/)
42 0 115 unless defined $version
44 9 106 unless version::is_lax($version)
54 63 43 if ($has_v or $num_dots > 1) { }
55 56 7 if $has_v
57 28 35 if ($is_alpha)
63 63 26 if ($p < 999 or not @parts) { }
71 56 7 $has_v ? :
73 28 35 if ($is_alpha)
79 20 23 if ($is_alpha)
84 38 5 defined $fraction ? :
86 20 23 if ($is_alpha)