blib/lib/Unicode/Block/Item.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 22 | 24 | 91.6 |
line | true | false | branch |
---|---|---|---|
37 | 1 | 20 | unless (defined $$self{'hex'}) |
40 | 1 | 19 | unless ($self->_is_hex) |
60 | 11 | 1 | unless (exists $$self{'u'}) |
68 | 4 | 8 | if ($char =~ /\p{Mn}/ms or $char =~ /\p{Me}/ms) { } |
1 | 7 | elsif ($char =~ /\p{Cc}/ms) { } | |
2 | 5 | elsif ($char =~ /\p{Cn}/ms) { } | |
99 | 6 | 1 | unless (exists $$self{'_width'}) |
101 | 2 | 4 | if ($$self{'_width'} == -1) |
111 | 1 | 19 | unless ($$self{'hex'} =~ /^[0-9a-fA-F]+$/ism) |
115 | 0 | 19 | unless (defined $int) |
121 | 2 | 17 | if ($value eq '') |
124 | 0 | 19 | if ($hex ne $value) |