File Coverage

blib/lib/Locale/CLDR/MeasurementSystem.pm
Criterion Covered Total %
statement 29 29 100.0
branch n/a
condition n/a
subroutine 10 10 100.0
pod n/a
total 39 39 100.0


line stmt bran cond sub pod time code
1             package Locale::CLDR::MeasurementSystem;
2             # This file auto generated from Data.xml
3             # on Fri 17 Jan 12:03:31 pm GMT
4              
5 23     23   17395 use strict;
  23         63  
  23         1054  
6 23     23   150 use warnings;
  23         49  
  23         1659  
7 23     23   143 use version;
  23         44  
  23         218  
8              
9             our $VERSION = version->declare('v0.46.0');
10              
11 23     23   3437 use v5.12.0;
  23         89  
12 23     23   143 use mro 'c3';
  23         46  
  23         202  
13 23     23   869 use utf8;
  23         60  
  23         193  
14 23     23   1113 use feature 'unicode_strings';
  23         83  
  23         4116  
15 23     23   234 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  23         84  
  23         365  
16 23     23   65384 use Moo::Role;
  23         67  
  23         309  
17              
18             has 'measurement_system' => (
19             is => 'ro',
20             isa => HashRef,
21             init_arg => undef,
22             default => sub { {
23             '001' => 'metric',
24             'LR' => 'US',
25             'US' => 'US',
26             'LR' => 'metric',
27             'MM' => 'metric',
28             'BS' => 'US',
29             'BZ' => 'US',
30             'KY' => 'US',
31             'PR' => 'US',
32             'PW' => 'US',
33             'GB' => 'UK',
34             'MM' => 'UK',
35             } },
36             );
37              
38             has 'paper_size' => (
39             is => 'ro',
40             isa => HashRef,
41             init_arg => undef,
42             default => sub { {
43             '001' => 'A4',
44             'BZ' => 'US-Letter',
45             'CA' => 'US-Letter',
46             'CL' => 'US-Letter',
47             'CO' => 'US-Letter',
48             'CR' => 'US-Letter',
49             'GT' => 'US-Letter',
50             'MX' => 'US-Letter',
51             'NI' => 'US-Letter',
52             'PA' => 'US-Letter',
53             'PH' => 'US-Letter',
54             'PR' => 'US-Letter',
55             'SV' => 'US-Letter',
56             'US' => 'US-Letter',
57             'VE' => 'US-Letter',
58             } },
59             );
60              
61 23     23   23789 no Moo::Role;
  23         60  
  23         139  
62              
63             1;
64              
65             # vim: tabstop=4