| blib/lib/DateTimeX/Format/Ago.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 16 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 106 | 1 | 600 | if ($INC{'Time/HiRes.pm'}) |
| 116 | 0 | 601 | unless blessed $self |
| 122 | 21 | 580 | if $delta->is_negative |
| 126 | 0 | 2844 | unless defined $strings{$unit}[0] |
| 131 | 405 | 2439 | if ($n > 0) |
| 133 | 45 | 360 | if (exists $strings{$unit}[$n] and defined $strings{$unit}[$n]) |
| 149 | 0 | 601 | unless blessed $self |
| 154 | 601 | 0 | if defined $__{$language} |