GeoIP2/Role/Error/HTTP.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GeoIP2/Record/Traits.pm ↑ Summary GeoIP2/Role/HasIPAddress.pm »
1 package GeoIP2::Role::Error::HTTP;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '2.006002';
7  
8 1 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶use GeoIP2::Types qw( HTTPStatus Str URIObject );
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 has http_status => (
15 is => 'ro',
16 isa => HTTPStatus,
17 required => 1,
18 );
19  
20 1 has uri => (
21 is => 'ro',
22 isa => URIObject,
23 required => 1,
24 );
25  
26 1 1;
« GeoIP2/Record/Traits.pm ↑ Summary GeoIP2/Role/HasIPAddress.pm »