blib/lib/Locale/Codes.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 49 | 54 | 90.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
147 | 791 | 447 | 39 | $codeset and not exists $Locale::Codes::ALL_CODESETS{$type}{'codesets'}{$codeset} |
210 | 3 | 6 | 473 | @args and defined $args[$#args] |
9 | 464 | 9 | @args and defined $args[$#args] and lc $args[$#args] eq "retired" | |
227 | 18 | 3 | 0 | $retired and exists $Retired{$type}{$codeset}{'code'}{$code} |
245 | 200 | 0 | 105 | @args and defined $args[$#args] |
200 | 99 | 6 | @args and defined $args[$#args] and lc $args[$#args] eq "retired" | |
259 | 27 | 6 | 0 | $retired and exists $Retired{$type}{$codeset}{'name'}{$name} |
336 | 20 | 24 | 3 | @args and lc $args[$#args] eq "retired" |
358 | 20 | 3 | 3 | @args and lc $args[$#args] eq "retired" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
155 | 771 | 5 | 462 | not defined $codeset or $codeset eq "" |
187 | 96 | 510 | 197 | $no_check_code or exists $Data{$type}{'code2id'}{$codeset}{$code} |
510 | 21 | 176 | $no_check_code or exists $Data{$type}{'code2id'}{$codeset}{$code} or exists $Retired{$type}{$codeset}{'code'}{$code} | |
21 | 24 | 152 | $no_check_code or exists $Data{$type}{'code2id'}{$codeset}{$code} or exists $Retired{$type}{$codeset}{'code'}{$code} or exists $Data{$type}{'codealias'}{$codeset}{$code} | |
222 | 54 | 12 | 414 | $err or not $code |
319 | 0 | 0 | 3 | $err or not $code |
486 | 3 | 5 | 47 | exists $Data{$type}{'code2id'}{$codeset}{$code} or exists $Data{$type}{'codealias'}{$codeset}{$code} |
676 | 27795 | 30 | 12 | $jd ne $id or $j < $i |
797 | 5 | 3 | 11 | exists $Data{$type}{'code2id'}{$codeset}{$new_code} or exists $Data{$type}{'codealias'}{$codeset}{$new_code} |