File Coverage

blib/lib/Locale/CLDR/MeasurementSystem.pm
Criterion Covered Total %
statement 21 21 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod n/a
total 28 28 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 Mon 6 Apr 3:14:56 pm GMT
4             # XML file generated 2015-02-25 23:47:56 -0600 (Wed, 25 Feb 2015)
5              
6 20     20   7560 use version;
  20         30  
  20         95  
7              
8             our $VERSION = version->declare('v0.27.0');
9              
10 20     20   1560 use v5.10;
  20         47  
  20         593  
11 20     20   72 use mro 'c3';
  20         21  
  20         158  
12 20     20   522 use utf8;
  20         27  
  20         88  
13 20     20   510 use if $^V ge v5.12.0, feature => 'unicode_strings';
  20         28  
  20         234  
14              
15 20     20   1508 use Moose::Role;
  20         30  
  20         100  
16              
17             has 'measurement_system' => (
18             is => 'ro',
19             isa => 'HashRef',
20             init_arg => undef,
21             default => sub { {
22             '001' => 'metric',
23             'LR' => 'US',
24             'MM' => '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             } },
35             );
36              
37             has 'paper_size' => (
38             is => 'ro',
39             isa => 'HashRef',
40             init_arg => undef,
41             default => sub { {
42             '001' => 'A4',
43             'BZ' => 'US-Letter',
44             'CA' => 'US-Letter',
45             'CL' => 'US-Letter',
46             'CO' => 'US-Letter',
47             'CR' => 'US-Letter',
48             'GT' => 'US-Letter',
49             'MX' => 'US-Letter',
50             'NI' => 'US-Letter',
51             'PA' => 'US-Letter',
52             'PH' => 'US-Letter',
53             'PR' => 'US-Letter',
54             'SV' => 'US-Letter',
55             'US' => 'US-Letter',
56             'VE' => 'US-Letter',
57             } },
58             );
59              
60 20     20   71919 no Moose::Role;
  20         30  
  20         77  
61              
62             1;
63              
64             # vim: tabstop=4