Condition Coverage

blib/lib/Lingua/RU/Inflect.pm
Criterion Covered Total %
condition 16 21 76.1


and 2 conditions

line l !l condition
213 6 0 $ambiguous++ and last

and 3 conditions

line !l l&&!r l&&r condition
286 11 8 1 !defined($gender) || $gender == 0 and $firstname =~ /[\x{431}\x{432}\x{433}\x{434}\x{436}\x{437}\x{43a}\x{43b}\x{43c}\x{43d}\x{439}\x{43f}\x{440}\x{441}\x{442}\x{444}\x{445}\x{446}\x{447}\x{448}\x{449}]$/i
328 13 0 5 $lastname =~ /(\x{438}\x{43d}|\x{44b}\x{43d}|\x{435}\x{432}|\x{451}\x{432}|\x{43e}\x{432})\x{430}$/ and $lastname =~ s/\x{430}$/('ой', 'ой', 'у', 'ой', 'ой')[$case];/e
335 9 0 4 $lastname =~ /(\x{438}\x{43d}|\x{44b}\x{43d}|\x{435}\x{432}|\x{451}\x{432}|\x{43e}\x{432})$/ and $lastname .= ('а', 'у', 'а', 'ым', 'е')[$case]

or 2 conditions

line l !l condition
193 92 40 $_ ||= ''
257 49 20 $_ ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
253 0 0 23 $case < 0 or $case > 4
286 1 8 11 !defined($gender) || $gender == 0