Branch Coverage

blib/lib/Version/Next.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
21 1 77 if ($version eq 'undef')
26 3 74 if ($version =~ /^\./)
28 1 2 $num_dots > 1 ? :
32 1 73 if ($version =~ /\.$/)
43 0 87 unless defined $version
45 9 78 unless version::is_lax($version)
55 35 43 if ($has_v or $num_dots > 1) { }
56 28 7 if $has_v
58 0 35 if ($is_alpha)
64 35 12 if ($p < 999 or not @parts) { }
72 28 7 $has_v ? :
77 20 23 if ($is_alpha)
82 38 5 defined $fraction ? :
84 20 23 if ($is_alpha)