Branch Coverage

blib/lib/Time/Duration.pm
Criterion Covered Total %
branch 33 36 91.6


line true false branch
55 0 2 unless $span
63 2 17 unless $span
74 32 1 $span > 0 ? :
0 33 $span < 0 ? :
84 80 10 $span > 0 ? :
8 90 $span < 0 ? :
131 18 121 if ($MILLISECOND)
156 457 377 if $$this[1] == 0
158 62 315 if $i == 0
160 44 271 if ($nonzero_count > $precision) { }
20 251 elsif ($$this[1] >= $$this[-1]) { }
165 26 18 if ($$this[1] >= $$this[-1] / 2)
182 20 105 if (defined $improperly_expressed)
208 119 169 $$_[1] == 1 ? :
425 288 $$_[1] == 0 ? :
214 0 139 unless @wheel
216 49 90 if @wheel == 1
217 49 41 if @wheel == 2