Details.pm

filter: Statementstmt 32.1% 9 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 15.7% 3 / 19 Podpod 0.0% 0 / 16 totaltotal 19.0% 12 / 63 SCAR 2.7
CC
1
Cov
32%
new
2.0
ip
2.0
hostname
2.0
CRAP 1.3
« IPinfo.pm ↑ Summary
1 package Geo::Details;
2  
3 1 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 sub new {
8 0 ▶ my $class = shift;
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
9 0 my $self = shift;
10  
11 0 bless $self, $class;
12  
13 0 return $self;
14 }
15  
16 sub ip {
17 0 ▶ return $_[0]->{"ip"};
Subroutine ip: not called CC=1 SCAR=6.9
Pod undocumented
18 }
19  
20 sub hostname {
21 0 ▶ return $_[0]->{"hostname"};
Subroutine hostname: not called CC=1 SCAR=6.9
Pod undocumented
22 }
23  
24 sub city {
25 0 ▶ return $_[0]->{"city"};
Subroutine city: not called CC=1 SCAR=6.9
Pod undocumented
26 }
27  
28 sub region {
29 0 ▶ return $_[0]->{"region"};
Subroutine region: not called CC=1 SCAR=6.9
Pod undocumented
30 }
31  
32 sub country {
33 0 ▶ return $_[0]->{"country"};
Subroutine country: not called CC=1 SCAR=6.9
Pod undocumented
34 }
35  
36 sub country_name {
37 0 ▶ return $_[0]->{"country_name"};
Subroutine country_name: not called CC=1 SCAR=6.9
Pod undocumented
38 }
39  
40 sub loc {
41 0 ▶ return $_[0]->{"loc"};
Subroutine loc: not called CC=1 SCAR=6.9
Pod undocumented
42 }
43  
44 sub latitude {
45 0 ▶ return $_[0]->{"latitude"};
Subroutine latitude: not called CC=1 SCAR=6.9
Pod undocumented
46 }
47  
48 sub longitude {
49 0 ▶ return $_[0]->{"longitude"};
Subroutine longitude: not called CC=1 SCAR=6.9
Pod undocumented
50 }
51  
52 sub postal {
53 0 ▶ return $_[0]->{"postal"};
Subroutine postal: not called CC=1 SCAR=6.9
Pod undocumented
54 }
55  
56 sub asn {
57 0 ▶ return $_[0]->{"asn"};
Subroutine asn: not called CC=1 SCAR=6.9
Pod undocumented
58 }
59  
60 sub company {
61 0 ▶ return $_[0]->{"company"};
Subroutine company: not called CC=1 SCAR=6.9
Pod undocumented
62 }
63  
64 sub carrier {
65 0 ▶ return $_[0]->{"carrier"};
Subroutine carrier: not called CC=1 SCAR=6.9
Pod undocumented
66 }
67  
68 sub meta {
69 0 ▶ return $_[0]->{"meta"};
Subroutine meta: not called CC=1 SCAR=6.9
Pod undocumented
70 }
71  
72 sub all {
73 0 ▶ return $_[0];
Subroutine all: not called CC=1 SCAR=6.9
Pod undocumented
74 }
75  
76 #-------------------------------------------------------------------------------
77  
78 1 1;
79 __END__
« IPinfo.pm ↑ Summary