OpenCellID/Base.pm

filter: Statementstmt 88.8% 16 / 18 Branchbran n/a Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 80.0% 4 / 5 Podpod 66.6% 2 / 3 totaltotal 74.1% 23 / 31 SCAR 7.1
CC
2
Cov
81%
new
2.0
parent
2.0
BEGIN
1.0
CRAP 2.0
« OpenCellID/Response/cell.pm ↑ Summary OpenCellID/Response/cell/getMeasures.pm »
1 package Geo::WebService::OpenCellID::Base;
2 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 our $VERSION = '0.03';
5  
6 =head1 NAME
7  
8 Geo::WebService::OpenCellID::Base - Perl API for the opencellid.org database
9  
10 =head1 SYNOPSIS
11  
12 use base qw{Geo::WebService::OpenCellID::Base};
13  
14 =head1 DESCRIPTION
15  
16 =head1 USAGE
17  
18 =head1 CONSTRUCTOR
19  
20 =head2 new
21  
22 =cut
23  
24 sub new {
25 9 ▶ my $this = shift();
Subroutine new: called CC=2 SCAR=7.1
Pod documented
26 9 ▶ my $class = ref($this) || $this;
Condition33%1/3
ref $this || $this
l!l&&r!l&&!r
090
MC/DC0%0/2
ref $this || $this
ref $this $this
Truth table33%1/3
A || B
A= ref $thisB= $this
ABresult
1X1
011
000
27 9 my $self = {};
28 9 bless $self, $class;
29 9 $self->initialize(@_);
30 9 return $self;
31 }
32  
33 sub initialize {
34 5 ▶ my $self = shift();
Subroutine initialize: called CC=1 SCAR=0.0
Pod undocumented
35 5 %$self=@_;
36 }
37  
38 =head1 METHODS
39  
40 =head2 parent
41  
42 =cut
43  
44 sub parent {
45 0 ▶ my $self=shift;
Subroutine parent: not called CC=1 SCAR=6.9
Pod documented
46 0 return $self->{"parent"};
47 }
48  
49 =head1 BUGS
50  
51 Submit to RT and email the Author
52  
53 =head1 SUPPORT
54  
55 Try the Author or Try 8motions.com
56  
57 =head1 AUTHOR
58  
59 Michael R. Davis
60 CPAN ID: MRDVT
61 STOP, LLC
62 domain=>michaelrdavis,tld=>com,account=>perl
63 http://www.stopllc.com/
64  
65 =head1 COPYRIGHT
66  
67 This program is free software; you can redistribute
68 it and/or modify it under the same terms as Perl itself.
69  
70 The full text of the license can be found in the
71 LICENSE file included with this module.
72  
73 =head1 SEE ALSO
74  
75 =cut
76  
77 4 1;
« OpenCellID/Response/cell.pm ↑ Summary OpenCellID/Response/cell/getMeasures.pm »