blib/lib/Unicode/Precis/UsernameCasePreserved.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 10 | 90.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 1 | 1 | 100.0 |
total | 13 | 15 | 86.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | #-*- perl -*- | ||||||
2 | #-*- coding: utf-8 -*- | ||||||
3 | |||||||
4 | package Unicode::Precis::UsernameCasePreserved; | ||||||
5 | |||||||
6 | 1 | 1 | 927 | use strict; | |||
1 | 1 | ||||||
1 | 24 | ||||||
7 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 26 | ||||||
8 | 1 | 1 | 5 | use base qw(Unicode::Precis); | |||
1 | 1 | ||||||
1 | 112 | ||||||
9 | |||||||
10 | our $VERSION = '1.000'; | ||||||
11 | |||||||
12 | sub new { | ||||||
13 | 0 | 0 | 1 | bless shift->SUPER::new( | |||
14 | WidthMappingRule => 'Decomposition', | ||||||
15 | NormalizationRule => 'NFC', | ||||||
16 | DirectionalityRule => 'BiDi', | ||||||
17 | StringClass => 'IdentifierClass', | ||||||
18 | ); | ||||||
19 | } | ||||||
20 | |||||||
21 | 1; | ||||||
22 | __END__ |