GeoIP2/Role/HasLocales.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GeoIP2/Role/HasIPAddress.pm ↑ Summary GeoIP2/Role/Model.pm »
1 package GeoIP2::Role::HasLocales;
2 6 $GeoIP2::Role::HasLocales::VERSION = '0.050000';
3 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 6 ▶use GeoIP2::Types qw( LocalesArrayRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
7 6 ▶use Sub::Quote qw( quote_sub );
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 6 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 6 has locales => (
12 is => 'ro',
13 isa => LocalesArrayRef,
14 default => quote_sub(q{ ['en'] }),
15 );
16  
17 6 1;
« GeoIP2/Role/HasIPAddress.pm ↑ Summary GeoIP2/Role/Model.pm »