GeoIP2/Role/HasIPAddress.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GeoIP2/Role/Error/HTTP.pm ↑ Summary GeoIP2/Role/HasLocales.pm »
1 package GeoIP2::Role::HasIPAddress;
2 6 $GeoIP2::Role::HasIPAddress::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( IPAddress );
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 6 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 6 has ip_address => (
11 is => 'ro',
12 isa => IPAddress,
13 required => 1,
14 );
15  
16 6 1;
« GeoIP2/Role/Error/HTTP.pm ↑ Summary GeoIP2/Role/HasLocales.pm »