Branch Coverage

blib/lib/Version/Util.pm
Criterion Covered Total %
branch 56 84 66.6


line true false branch
26 0 3 if $@
30 0 3 if $@
34 0 3 if $@
38 0 3 if $@
42 0 3 if $@
46 0 3 if $@
50 0 3 if $@
56 0 5 if $@
60 3 4 if $v >= "version"->parse($v1) and $v <= "version"->parse($v2)
61 3 4 if $return
62 0 4 if $@
70 0 3 if $@
72 2 3 if $v == "version"->parse($_)
73 2 3 if $return
74 0 3 if $@
80 4 24 $_[0] > $_[1] ? :
86 0 3 if $@
89 1 0 @v ? :
95 0 3 if $@
98 1 0 @v ? :
106 0 14 unless $v =~ /$re/
111 0 14 unless $inc =~ /$re/
119 14 0 if $width_min
120 4 10 if $width_pl
121 14 0 if $width_min
122 4 10 if $width_pl
124 4 10 if ($which eq "subtract")
125 4 0 if length $inc_min
126 1 3 if length $inc_pl
129 0 14 if not length $v_min and $width_min
130 0 14 if not length $v_pl and $width_pl
131 0 14 if not length $inc_min and $width_min
132 0 14 if not length $inc_pl and $width_pl
134 4 10 if ($width_pl)
137 0 4 if ($v_pl < 0) { }
0 4 elsif ($v_pl >= $limit) { }
146 14 0 if ($width_min)
149 3 11 if ($v_min < 0) { }
3 8 elsif ($v_min >= $limit) { }
159 1 13 if $v_maj < 0
162 13 0 $width_min ? :
4 9 $width_pl ? :