blib/lib/Term/Encoding.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 16 | 50.0 |
line | true | false | branch |
---|---|---|---|
23 | 0 | 6 | if ($^O eq 'MSWin32') |
32 | 6 | 0 | unless ($encoding) |
34 | 0 | 6 | unless $ENV{$key} =~ /^([^.]+)\.([^.:]+)/ |
41 | 3 | 3 | if (defined $encoding and lc $encoding eq 'euc' and defined $locale) |
44 | 2 | 1 | if ($locale =~ /^ja_JP|japan(?:ese)?$/i) { } |
1 | 0 | elsif ($locale =~ /^ko_KR|korean?$/i) { } | |
0 | 0 | elsif ($locale =~ /^zh_CN|chin(?:a|ese)?$/i) { } | |
0 | 0 | elsif ($locale =~ /^zh_TW|taiwan(?:ese)?$/i) { } |