Branch Coverage

blib/lib/Version/Util.pm
Criterion Covered Total %
branch 39 54 72.2


line true false branch
56 3 4 if $v >= 'version'->parse($v1) and $v <= 'version'->parse($v2)
64 2 3 if $v == 'version'->parse($_)
70 4 24 $_[0] > $_[1] ? :
75 1 0 @v ? :
80 1 0 @v ? :
88 0 14 unless $v =~ /$re/
93 0 14 unless $inc =~ /$re/
101 14 0 if $width_min
102 4 10 if $width_pl
103 14 0 if $width_min
104 4 10 if $width_pl
106 4 10 if ($which eq 'subtract')
107 4 0 if length $inc_min
108 1 3 if length $inc_pl
111 0 14 if not length $v_min and $width_min
112 0 14 if not length $v_pl and $width_pl
113 0 14 if not length $inc_min and $width_min
114 0 14 if not length $inc_pl and $width_pl
116 4 10 if ($width_pl)
119 0 4 if ($v_pl < 0) { }
0 4 elsif ($v_pl >= $limit) { }
128 14 0 if ($width_min)
131 3 11 if ($v_min < 0) { }
3 8 elsif ($v_min >= $limit) { }
141 1 13 if $v_maj < 0
144 13 0 $width_min ? :
4 9 $width_pl ? :