File Coverage

blib/lib/Geo/Location/IP/Role/HasIPAddress.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 5 5 100.0
total 24 24 100.0


line stmt bran cond sub pod time code
1             package Geo::Location::IP::Role::HasIPAddress;
2              
3             # SPDX-License-Identifier: Artistic-1.0-Perl OR GPL-1.0-or-later
4              
5 19     26   337 use 5.026;
  19         65  
6 19     26   105 use warnings;
  19         32  
  19         1141  
7 19     26   101 use utf8;
  19         32  
  19         102  
8              
9 19     26   586 use Object::Pad;
  19         32  
  19         121  
10              
11             role Geo::Location::IP::Role::HasIPAddress;
12              
13             our $VERSION = 0.005;
14              
15 14     21 1 3296 field $ip_address :param :reader;
  14     14 1 73  
          1    
          1    
          1    
16              
17             1;
18             __END__