File Coverage

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