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 3 Apr 1:13:49 pm GMT
4             # XML file generated 2014-09-11 12:17:53 -0500 (Thu, 11 Sep 2014)
5              
6 20     20   7479 use version;
  20         25  
  20         92  
7              
8             our $VERSION = version->declare('v0.26.10');
9              
10 20     20   1506 use v5.10;
  20         46  
  20         559  
11 20     20   70 use mro 'c3';
  20         22  
  20         193  
12 20     20   485 use utf8;
  20         24  
  20         88  
13 20     20   472 use if $^V ge v5.12.0, feature => 'unicode_strings';
  20         28  
  20         223  
14              
15 20     20   1588 use Moose::Role;
  20         32  
  20         94  
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             } },
27             );
28              
29             has 'paper_size' => (
30             is => 'ro',
31             isa => 'HashRef',
32             init_arg => undef,
33             default => sub { {
34             '001' => 'A4',
35             'BZ' => 'US-Letter',
36             'CA' => 'US-Letter',
37             'CL' => 'US-Letter',
38             'CO' => 'US-Letter',
39             'CR' => 'US-Letter',
40             'GT' => 'US-Letter',
41             'MX' => 'US-Letter',
42             'NI' => 'US-Letter',
43             'PA' => 'US-Letter',
44             'PH' => 'US-Letter',
45             'PR' => 'US-Letter',
46             'SV' => 'US-Letter',
47             'US' => 'US-Letter',
48             'VE' => 'US-Letter',
49             } },
50             );
51              
52 20     20   69137 no Moose::Role;
  20         31  
  20         75  
53              
54             1;
55              
56             # vim: tabstop=4