blib/lib/Unicode/Char.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 26 | 80.7 |
line | true | false | branch |
---|---|---|---|
14 | 3 | 1 | if %Name2Chr |
19 | 0 | 24222 | if $name =~ /[a-z]/ |
33 | 1 | 12 | if $ord < 0 |
34 | 5 | 7 | if $ord < 56320 |
35 | 2 | 5 | if $ord <= 57343 |
36 | 2 | 3 | if $ord < 65535 |
37 | 1 | 2 | if $ord == 65535 |
38 | 1 | 1 | if $ord <= 1114111 |
55 | 0 | 3 | unless $self->valid($ord) |
72 | 0 | 7 | if $DEBUG |
74 | 3 | 4 | if ($method =~ s/^u_?//o) { } |
76 | 0 | 3 | unless defined $chr |
83 | 0 | 4 | unless defined $chr |