Branch Coverage

blib/lib/Text/Phonetic/Koeln.pm
Criterion Covered Total %
branch 37 38 97.3


line true false branch
32 28 53 if ($character_list[0] eq 'C')
33 10 18 if (Text::Phonetic::_is_inlist($character_list[1], ('A', 'H', 'K', 'L', 'O', 'Q', 'R', 'U', 'X'))) { }
44 80 213 if (Text::Phonetic::_is_inlist($character_list[0], ('A', 'E', 'I', 'J', 'Y', 'O', 'U'))) { }
34 179 elsif ($character_list[0] eq 'B') { }
3 176 elsif ($character_list[0] eq 'P') { }
15 161 elsif (Text::Phonetic::_is_inlist($character_list[0], ('D', 'T'))) { }
18 143 elsif (Text::Phonetic::_is_inlist($character_list[0], ('F', 'V', 'W'))) { }
43 100 elsif ($character_list[0] eq 'C') { }
11 89 elsif (Text::Phonetic::_is_inlist($character_list[0], ('G', 'Q', 'K'))) { }
5 84 elsif ($character_list[0] eq 'X') { }
9 75 elsif ($character_list[0] eq 'L') { }
21 54 elsif (Text::Phonetic::_is_inlist($character_list[0], ('M', 'N'))) { }
18 36 elsif ($character_list[0] eq 'R') { }
21 15 elsif (Text::Phonetic::_is_inlist($character_list[0], ('S', 'Z'))) { }
54 0 3 if (defined $character_list[1] and $character_list[1] eq 'H') { }
64 3 12 if (defined $character_list[1] and $character_list[1] =~ /[CSZ]/) { }
77 12 31 if (Text::Phonetic::_is_inlist($last_match, ('S', 'Z'))) { }
10 21 elsif (defined $character_list[1] and Text::Phonetic::_is_inlist($character_list[1], ('A', 'H', 'K', 'O', 'Q', 'U', 'X'))) { }
93 4 1 if (Text::Phonetic::_is_inlist($last_match, ('C', 'K', 'Q'))) { }