blib/lib/Math/Aronson.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 13 | 61.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
80 | 17 | 0 | 0 | $lang eq 'en' && $conjunctions_word ne 'and' && ($lang eq 'fr' && $conjunctions_word ne 'et') |
106 | 14 | 0 | 3 | $without_conjunctions && defined $conjunctions_word |
line | l | !l | condition |
---|---|---|---|
66 | 5 | 12 | $self->{'lang'} ||= 'en' |
177 | 199 | 5 | shift @{$$self{'queue'};} || (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
96 | 0 | 17 | 0 | $self->{'ordinal_func'} ||= $lang eq 'en' ? do { require Lingua::EN::Numbers; 'Lingua::EN::Numbers'->VERSION(1.01); \&Lingua::EN::Numbers::num2en_ordinal } : ($lang eq 'fr' ? do { require Lingua::FR::Numbers; \&Math::Aronson::_fr_ordinal } : do { require Lingua::Any::Numbers; sub { return Lingua::Any::Numbers::to_ordinal($_[0], $lang); } }) |