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 Fri 10 Jul 3:10:27 pm GMT
4             # XML file generated 2015-02-25 23:47:56 -0600 (Wed, 25 Feb 2015)
5              
6 20     20   11848 use version;
  20         146  
  20         149  
7              
8             our $VERSION = version->declare('v0.27.2');
9              
10 20     20   2315 use v5.10;
  20         59  
  20         920  
11 20     20   101 use mro 'c3';
  20         36  
  20         158  
12 20     20   736 use utf8;
  20         28  
  20         147  
13 20     20   744 use if $^V ge v5.12.0, feature => 'unicode_strings';
  20         31  
  20         300  
14              
15 20     20   2374 use Moose::Role;
  20         52  
  20         180  
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   103315 no Moose::Role;
  20         45  
  20         107  
61              
62             1;
63              
64             # vim: tabstop=4