GeoIP2/Model/City.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GeoIP2/Model/AnonymousIP.pm ↑ Summary GeoIP2/Model/ConnectionType.pm »
1 package GeoIP2::Model::City;
2  
3 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 9 our $VERSION = '2.006002';
7  
8 9 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 9 ▶use GeoIP2::Types qw( HashRef object_isa_type );
Subroutine BEGIN: called CC=1 SCAR=0.0
11 9 ▶use Sub::Quote qw( quote_sub );
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 9 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 9 with 'GeoIP2::Role::Model::Location', 'GeoIP2::Role::Model::HasSubdivisions';
16  
17 ## no critic (ProhibitUnusedPrivateSubroutines)
18 162 ▶sub _has { has(@_) }
Subroutine _has: called CC=1 SCAR=0.0
19 ## use critic
20  
21 9 __PACKAGE__->_define_attributes_for_keys( __PACKAGE__->_all_record_names() );
22  
23 9 1;
24  
25 # ABSTRACT: Model class for GeoIP2 Precision: City and GeoIP2 City
26  
27 __END__
« GeoIP2/Model/AnonymousIP.pm ↑ Summary GeoIP2/Model/ConnectionType.pm »