Branch Coverage

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


line true false branch
47 2 2 unless $span
55 3 18 unless $span
66 113 5 $span > 0 ? :
1 118 $span < 0 ? :
76 83 11 $span > 0 ? :
9 94 $span < 0 ? :
123 18 208 if ($MILLISECOND)
148 478 386 if $this->[1] == 0
150 62 324 if $i == 0
152 45 279 if ($nonzero_count > $precision) { }
20 259 elsif ($this->[1] >= $this->[-1]) { }
157 26 19 if ($this->[1] >= $this->[-1] / 2)
174 20 110 if (defined $improperly_expressed)
200 198 321 $_->[1] == 1 ? :
629 519 $_->[1] == 0 ? :
206 1 225 unless @wheel
208 65 160 if @wheel == 1
209 71 89 if @wheel == 2