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