Branch Coverage

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


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