Branch Coverage

blib/lib/DateTime/Format/Human/Duration/Simple.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
103 15 0 if (try_load_class($locale_class)) { }
173 4 11 if ($nanoseconds > 0)
178 6 9 if ($years > 0)
182 15 0 if (my $locale_class = $self->locale_class)
187 6 9 if $years > 0
188 6 9 if $months > 0
189 1 14 if $weeks > 0
190 6 9 if $days > 0
191 10 5 if $hours > 0
192 8 7 if $minutes > 0
193 13 2 if $seconds > 0
194 4 11 if $milliseconds > 0
195 4 11 if $nanoseconds > 0
201 8 7 if (scalar @formatted == 2 or not $self->serial_comma) { }