| blib/lib/Time/Elapsed/Lang/FR.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 12 | 12 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 6 | 6 | 100.0 |
| pod | 3 | 3 | 100.0 |
| total | 21 | 21 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Time::Elapsed::Lang::FR; | ||||||
| 2 | $Time::Elapsed::Lang::FR::VERSION = '0.33'; | ||||||
| 3 | 1 | 1 | 7 | use strict; | |||
| 1 | 3 | ||||||
| 1 | 28 | ||||||
| 4 | 1 | 1 | 4 | use warnings; | |||
| 1 | 2 | ||||||
| 1 | 23 | ||||||
| 5 | 1 | 1 | 5 | use utf8; | |||
| 1 | 2 | ||||||
| 1 | 4 | ||||||
| 6 | |||||||
| 7 | sub singular { | ||||||
| 8 | 1 | 1 | 1 | 7 | return qw/ | ||
| 9 | second seconde | ||||||
| 10 | minute minute | ||||||
| 11 | hour heure | ||||||
| 12 | day jour | ||||||
| 13 | week semaine | ||||||
| 14 | month mois | ||||||
| 15 | year an | ||||||
| 16 | / | ||||||
| 17 | } | ||||||
| 18 | |||||||
| 19 | sub plural { | ||||||
| 20 | 1 | 1 | 1 | 7 | return qw/ | ||
| 21 | second secondes | ||||||
| 22 | minute minutes | ||||||
| 23 | hour heures | ||||||
| 24 | day jours | ||||||
| 25 | week semaines | ||||||
| 26 | month mois | ||||||
| 27 | year ans | ||||||
| 28 | / | ||||||
| 29 | } | ||||||
| 30 | |||||||
| 31 | sub other { | ||||||
| 32 | 1 | 1 | 1 | 6 | return qw/ | ||
| 33 | and et | ||||||
| 34 | /, | ||||||
| 35 | zero => q{zéro seconde}, | ||||||
| 36 | } | ||||||
| 37 | |||||||
| 38 | 1; | ||||||
| 39 | |||||||
| 40 | __END__ |