Condition Coverage

blib/lib/Lingua/EN/Numbers.pm
Criterion Covered Total %
condition 25 39 64.1


and 3 conditions

line !l l&&!r l&&r condition
49 0 0 6 defined $_[0] and length $_[0]
67 1 1 84 defined $x and length $x
98 68 0 67 defined $_ && length $_
108 32 0 13 defined $_[0] and length $_[0]
115 33 0 12 defined $_[0] and length $_[0]
124 3 0 71 defined $_[0] and length $_[0]
3 0 71 defined $_[0] and length $_[0] and $_[0] =~ /^\d+$/s
148 0 0 9 defined $_[0] and length $_[0]
0 0 9 defined $_[0] and length $_[0] and $_[0] =~ /^\d+$/s
168 2 1 6 $chunks[-1][1] == 0 and $chunks[-1][0] < 100
178 3 0 6 $and and @chunks > 1
183 7 1 1 @chunks == 2 and not $and

or 3 conditions

line l !l&&r !l&&!r condition
57 0 0 4 $Lingua::EN::Numbers::Card2ord{$last} || $last =~ s/y$/ieth/ && $last || (!($last =~ /th$/) ? $last . 'th' : $last)