OpenCellID/Response/cell.pm

filter: Statementstmt 60.0% 12 / 20 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 42.8% 3 / 7 Podpod 100% 4 / 4 totaltotal 52.7% 19 / 36 SCAR 8.9
CC
2
Cov
52%
cellid
6.0
mnc
2.0
mcc
2.0
CRAP 2.4
« OpenCellID.pm ↑ Summary OpenCellID/Base.pm »
1 package Geo::WebService::OpenCellID::Response::cell;
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 ▶use base qw{Geo::WebService::OpenCellID::Response};
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 our $VERSION = '0.03';
6  
7 =head1 NAME
8  
9 Geo::WebService::OpenCellID::Response::cell - Perl API for the opencellid.org database
10  
11 =head1 SYNOPSIS
12  
13 =head1 DESCRIPTION
14  
15 Perl Interface to the database at http://www.opencellid.org/
16  
17 =head1 USAGE
18  
19 =head1 METHODS
20  
21 =head2 mnc
22  
23 =cut
24  
25 sub mnc {
26 0 ▶ my $self=shift;
Subroutine mnc: not called CC=1 SCAR=6.9
Pod documented
27 0 return $self->{"data"}->{"cell"}->[0]->{"mnc"};
28 }
29  
30 =head2 mcc
31  
32 =cut
33  
34 sub mcc {
35 0 ▶ my $self=shift;
Subroutine mcc: not called CC=1 SCAR=6.9
Pod documented
36 0 return $self->{"data"}->{"cell"}->[0]->{"mcc"};
37 }
38  
39 =head2 lac
40  
41 =cut
42  
43 sub lac {
44 0 ▶ my $self=shift;
Subroutine lac: not called CC=1 SCAR=6.9
Pod documented
45 0 return $self->{"data"}->{"cell"}->[0]->{"lac"};
46 }
47  
48 =head2 cellid
49  
50 =cut
51  
52 4 *cellId=\&cellid;
53  
54 sub cellid {
55 0 ▶ my $self=shift;
Subroutine cellid: not called CC=2 SCAR=17.9
Pod documented
56 0 ▶ return $self->{"data"}->{"cell"}->[0]->{"cellid"} || $self->{"data"}->{"cell"}->[0]->{"cellId"};
Condition0%0/3
$self->{'data'}{'cell'}[0]{'cellid'} || $self->{'data'}{'cell'}[0]{'cellId'}
l!l&&r!l&&!r
000
MC/DC0%0/2
$self->{'data'}{'cell'}[0]{'cellid'} || $self->{'data'}{'cell'}[0]{'cellId'}
$self->{'data'}{'cell'}[0]{'cellid'} $self->{'data'}{'cell'}[0]{'cellId'}
Truth table0%0/3
A || B
A= $self->{'data'}{'cell'}[0]{'cellid'}B= $self->{'data'}{'cell'}[0]{'cellId'}
ABresult
1X1
011
000
57 }
58  
59 =head1 BUGS
60  
61 Submit to RT and email the Author
62  
63 =head1 SUPPORT
64  
65 Try the Author or Try 8motions.com
66  
67 =head1 AUTHOR
68  
69 Michael R. Davis
70 CPAN ID: MRDVT
71 STOP, LLC
72 domain=>michaelrdavis,tld=>com,account=>perl
73 http://www.stopllc.com/
74  
75 =head1 COPYRIGHT
76  
77 This program is free software; you can redistribute
78 it and/or modify it under the same terms as Perl itself.
79  
80 The full text of the license can be found in the
81 LICENSE file included with this module.
82  
83 =head1 SEE ALSO
84  
85 =cut
86  
87 4 1;
« OpenCellID.pm ↑ Summary OpenCellID/Base.pm »