blib/lib/Encode/GSM0338.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 33 | 38 | 86.8 |
line | true | false | branch |
---|---|---|---|
174 | 1 | 760 | unless defined $bytes |
179 | 131 | 761 | if ($c eq "\000") { } |
132 | 629 | elsif ($c eq $ESC) { } | |
184 | 1 | 0 | $chk ? : |
127 | 1 | exists $GSM2UNI{$c2} ? : | |
1 | 128 | $c2 eq "\000" ? : | |
2 | 129 | !length($c2) ? : | |
195 | 1 | 0 | $chk ? : |
118 | 1 | exists $GSM2UNI{$c2} ? : | |
13 | 119 | exists $GSM2UNI{$c . $c2} ? : | |
204 | 0 | 126 | ref $chk eq 'CODE' ? : |
126 | 0 | $chk ? : | |
503 | 126 | exists $GSM2UNI{$c} ? : | |
212 | 257 | 375 | if $chk |
220 | 1 | 269 | unless defined $str |
227 | 0 | 128 | ref $chk eq 'CODE' ? : |
128 | 2 | $chk ? : | |
273 | 130 | exists $UNI2GSM{$u} ? : | |
234 | 138 | 3 | if $chk |