OpenCellID/Response/cell/get.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 4 / 4 totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OpenCellID/Response.pm ↑ Summary OpenCellID/Response/measure.pm »
1 package Geo::WebService::OpenCellID::Response::cell::get;
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::cell};
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 our $VERSION = '0.06';
6  
7 =head1 NAME
8  
9 Geo::WebService::OpenCellID::Response::cell::get - 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 lat
22  
23 =cut
24  
25 2 ▶sub lat {
Subroutine lat: called CC=1 SCAR=0.0
Pod documented
26 2 my $self=shift;
27 2 return $self->{"data"}->{"cell"}->[0]->{"lat"};
28 }
29  
30 =head2 lon
31  
32 =cut
33  
34 2 ▶sub lon {
Subroutine lon: called CC=1 SCAR=0.0
Pod documented
35 2 my $self=shift;
36 2 return $self->{"data"}->{"cell"}->[0]->{"lon"};
37 }
38  
39 =head2 range
40  
41 =cut
42  
43 1 ▶sub range {
Subroutine range: called CC=1 SCAR=0.0
Pod documented
44 1 my $self=shift;
45 1 return $self->{"data"}->{"cell"}->[0]->{"range"};
46 }
47  
48 =head2 nbSamples
49  
50 =cut
51  
52 2 ▶sub nbSamples {
Subroutine nbSamples: called CC=1 SCAR=0.0
Pod documented
53 2 my $self=shift;
54 2 return $self->{"data"}->{"cell"}->[0]->{"nbSamples"};
55 }
56  
57 =head1 COPYRIGHT
58  
59 Copyright (c) 2025 Michael R. Davis
60  
61 This program is free software; you can redistribute
62 it and/or modify it under the same terms as Perl itself.
63  
64 The full text of the license can be found in the
65 LICENSE file included with this module.
66  
67 =cut
68  
69 4 1;
« OpenCellID/Response.pm ↑ Summary OpenCellID/Response/measure.pm »