Condition Coverage

blib/lib/Lingua/RU/Inflect.pm
Criterion Covered Total %
condition 22 27 81.4


and 2 conditions

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

and 3 conditions

line !l l&&!r l&&r condition
293 44 10 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
331 52 4 2 $lastname =~ /\x{44b}\x{445}$/i and not $lastname =~ /^(\x{411}\x{443}\x{43b}\x{442}|(|\x{41e}\x{442}|\x{41f}\x{435}\x{440}\x{435}|\x{420}\x{43e}\x{437})\x{434}|\x{416}\x{43c}|\x{41f})\x{44b}\x{445}$/i
335 50 1 5 $lastname =~ /(\x{43a}\x{430}\x{440}|[\x{433}\x{436}\x{43a}\x{43d}\x{445}\x{448}\x{449}\x{44c}])\x{438}\x{445}$/i and not $lastname =~ /^(\x{41c}\x{438}\x{43d}|\x{41c}\x{44e}\x{43d}\x{43d})\x{438}\x{445}$/
342 46 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}$/("\x{43e}\x{439}", "\x{43e}\x{439}", "\x{443}", "\x{43e}\x{439}", "\x{43e}\x{439}")[$case];/e
365 38 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 .= ("\x{430}", "\x{443}", "\x{430}", "\x{44b}\x{43c}", "\x{435}")[$case]

or 2 conditions

line l !l condition
196 202 107 $_ ||= ''
262 127 59 $_ ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
258 0 0 62 $case < 0 or $case > 4
293 1 10 44 !defined($gender) || $gender == 0