File Coverage

blib/lib/WWW/Google/URLShortener/Analytics/Result.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             package WWW::Google::URLShortener::Analytics::Result;
2              
3             $WWW::Google::URLShortener::Analytics::Result::VERSION = '0.19';
4              
5             =head1 NAME
6              
7             WWW::Google::URLShortener::Analytics::Result - Placeholder for the result of analytics.
8              
9             =head1 VERSION
10              
11             Version 0.19
12              
13             =cut
14              
15 2     2   33 use 5.006;
  2         6  
16 2     2   10 use Moo;
  2         4  
  2         11  
17 2     2   532 use namespace::clean;
  2         3  
  2         17  
18              
19             has type => (is => 'ro');
20             has shortUrlClicks => (is => 'ro');
21             has longUrlClicks => (is => 'ro');
22             has countries => (is => 'ro');
23             has referrers => (is => 'ro');
24             has browsers => (is => 'ro');
25             has platforms => (is => 'ro');
26              
27             =head1 METHODS
28              
29             =head2 type()
30              
31             Returns the type of the result.
32              
33             =head2 shortUrlClicks()
34              
35             Returns count of the short URL clicks of the result.
36              
37             =head2 longUrlClicks()
38              
39             Returns count of the long URL clicks of the result.
40              
41             =head2 countries()
42              
43             Returns the reference to the list of L.
44              
45             =head2 referrers()
46              
47             Returns the reference to the list of L.
48              
49             =head2 browsers()
50              
51             Returns the reference to the list of L.
52              
53             =head2 platforms()
54              
55             Returns the reference to the list of L.
56              
57             =head1 AUTHOR
58              
59             Mohammad S Anwar, C<< >>
60              
61             =head1 REPOSITORY
62              
63             L
64              
65             =head1 BUGS
66              
67             Please report any bugs or feature requests to C
68             rt.cpan.org>, or through the web interface at L.
69             I will be notified, and then you'll automatically be notified of progress on your
70             bug as I make changes.
71              
72             =head1 SUPPORT
73              
74             You can find documentation for this module with the perldoc command.
75              
76             perldoc WWW::Google::URLShortener::Analytics::Result
77              
78             You can also look for information at:
79              
80             =over 4
81              
82             =item * RT: CPAN's request tracker (report bugs here)
83              
84             L
85              
86             =item * AnnoCPAN: Annotated CPAN documentation
87              
88             L
89              
90             =item * CPAN Ratings
91              
92             L
93              
94             =item * Search CPAN
95              
96             L
97              
98             =back
99              
100             =head1 LICENSE AND COPYRIGHT
101              
102             Copyright (C) 2011 - 2015 Mohammad S Anwar.
103              
104             This program is free software; you can redistribute it and/or modify it under
105             the terms of the the Artistic License (2.0). You may obtain a copy of the full
106             license at:
107              
108             L
109              
110             Any use, modification, and distribution of the Standard or Modified Versions is
111             governed by this Artistic License.By using, modifying or distributing the Package,
112             you accept this license. Do not use, modify, or distribute the Package, if you do
113             not accept this license.
114              
115             If your Modified Version has been derived from a Modified Version made by someone
116             other than you,you are nevertheless required to ensure that your Modified Version
117             complies with the requirements of this license.
118              
119             This license does not grant you the right to use any trademark, service mark,
120             tradename, or logo of the Copyright Holder.
121              
122             This license includes the non-exclusive, worldwide, free-of-charge patent license
123             to make, have made, use, offer to sell, sell, import and otherwise transfer the
124             Package with respect to any patent claims licensable by the Copyright Holder that
125             are necessarily infringed by the Package. If you institute patent litigation
126             (including a cross-claim or counterclaim) against any party alleging that the
127             Package constitutes direct or contributory patent infringement,then this Artistic
128             License to you shall terminate on the date that such litigation is filed.
129              
130             Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND
131             CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
132             WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
133             NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS
134             REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT,
135             INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE
136             OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
137              
138             =cut
139              
140             1; # End of WWW::Google::URLShortener::Analytics::Result