OpenCellID/Response/cell/getMeasures.pm

filter: Statementstmt 100% 15 / 15 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 22 / 22 SCAR 6.9
CC
2
Cov
100%
measures
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« OpenCellID/Base.pm ↑ Summary OpenCellID/cell.pm »
1 package Geo::WebService::OpenCellID::Response::cell::getMeasures;
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::get};
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::getMeasures - 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 measures
22  
23 Returns a list of measures (list of hash references)
24  
25 =cut
26  
27 4 *measure=\&measures;
28  
29 sub measures {
30 2 ▶ my $self=shift;
Subroutine measures: called CC=2 SCAR=6.9
Pod documented
31 2 my $list=$self->{"data"}->{"cell"}->[0]->{"measure"};
32 2 ▶ return wantarray ? @$list : $list;
Branch: 1 branch
BranchTrueFalseTotal
wantarray ? : 1 1 2
33 }
34  
35 =head1 BUGS
36  
37 Submit to RT and email the Author
38  
39 =head1 SUPPORT
40  
41 Try the Author or Try 8motions.com
42  
43 =head1 AUTHOR
44  
45 Michael R. Davis
46 CPAN ID: MRDVT
47 STOP, LLC
48 domain=>michaelrdavis,tld=>com,account=>perl
49 http://www.stopllc.com/
50  
51 =head1 COPYRIGHT
52  
53 This program is free software; you can redistribute
54 it and/or modify it under the same terms as Perl itself.
55  
56 The full text of the license can be found in the
57 LICENSE file included with this module.
58  
59 =head1 SEE ALSO
60  
61 =cut
62  
63 4 1;
« OpenCellID/Base.pm ↑ Summary OpenCellID/cell.pm »