GeoIP2/Role/Error/HTTP.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 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 1 $GeoIP2::Role::Error::HTTP::VERSION = '0.050000';
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 ▶use GeoIP2::Types qw( HTTPStatus Str URIObject );
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 has http_status => (
11 is => 'ro',
12 isa => HTTPStatus,
13 required => 1,
14 );
15  
16 1 has uri => (
17 is => 'ro',
18 isa => URIObject,
19 required => 1,
20 );
21  
22 1 1;
« GeoIP2/Record/Traits.pm ↑ Summary GeoIP2/Role/HasIPAddress.pm »