lib/Ekahau/Response/DeviceList.pm

filter: Statementstmt 100% 16 / 16 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 66.6% 2 / 3 totaltotal 92.5% 25 / 27 CC 2 SCAR 2.8
CC
2
Cov
94%
init
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« lib/Ekahau/Response/Error.pm ↑ Summary lib/Ekahau/Response/MapImage.pm »
1 package Ekahau::Response::DeviceList;
2 15 ▶use base 'Ekahau::Response'; our $VERSION=Ekahau::Response::VERSION;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 # Written by Scott Gifford <gifford@umich.edu>
5 # Copyright (C) 2004 The Regents of the University of Michigan.
6 # See the file LICENSE included with the distribution for license
7 # information.
8  
9 15 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 15 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 =head1 NAME
13  
14 Ekahau::Response::DeviceList - A list of devices visible to Ekahau
15  
16 =head1 SYNOPSIS
17  
18 Contains a list of devices visible to Ekahau. This response only
19 contains the device identifiers, and no other information about the
20 devices. This class inherits from L<Ekahau::Response|Ekahau::Response> , and methods
21 that class can be used on this object.
22  
23 =head1 DESCRIPTION
24  
25 =head2 Constructor
26  
27 Generally you will not want to construct these objects yourself; they
28 are created by L<Ekahau::Response|Ekahau::Response>, and use its constructor.
29  
30 =head2 Methods
31  
32 =cut
33  
34 # Internal method
35 sub init
36 16 ▶{
Subroutine init: called CC=2 SCAR=7.6
Pod undocumented
37 warn "Created Ekahau::Response::DeviceList object\n"
38 16 ▶ if ($ENV{VERBOSE});
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"VERBOSE"} 0 16 16
39 }
40  
41 =head3 devices ( )
42  
43 Returns the list of device identifiers contained in this response.
44  
45 =cut
46  
47 sub devices
48 14 ▶{
Subroutine devices: called CC=1 SCAR=0.0
Pod documented
49 14 my $self = shift;
50 14 keys %{$self->{params}};
51 }
52  
53 =head3 type ( )
54  
55 Returns the string I<DeviceList>, to identify the type of this object.
56  
57 =cut
58  
59 sub type
60 9 ▶{
Subroutine type: called CC=1 SCAR=0.0
Pod documented
61 9 'DeviceList';
62 }
63  
64 =head1 AUTHOR
65  
66 Scott Gifford E<lt>gifford@umich.eduE<gt>, E<lt>sgifford@suspectclass.comE<gt>
67  
68 Copyright (C) 2005 The Regents of the University of Michigan.
69  
70 See the file LICENSE included with the distribution for license
71 information.
72  
73  
74 =head1 SEE ALSO
75  
76 L<Ekahau::Response|Ekahau::Response>, L<Ekahau::DeviceProperties|Ekahau::DeviceProperties>, L<Ekahau::Base|Ekahau::Base>.
77  
78 =cut
79  
80 15 1;
« lib/Ekahau/Response/Error.pm ↑ Summary lib/Ekahau/Response/MapImage.pm »