PageSpeedOnline/Stats.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« PageSpeedOnline/Result/Rule.pm ↑ Summary
1 package WWW::Google::PageSpeedOnline::Stats;
2  
3 4 $WWW::Google::PageSpeedOnline::Stats::VERSION = '0.28';
4 4 $WWW::Google::PageSpeedOnline::Stats::AUTHORITY = 'cpan:MANWAR';
5  
6 =head1 NAME
7  
8 WWW::Google::PageSpeedOnline::Stats - Placeholder for the stat of L<WWW::Google::PageSpeedOnline>.
9  
10 =head1 VERSION
11  
12 Version 0.28
13  
14 =cut
15  
16 4 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 4 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 4 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 4 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<< <mohammad.anwar at yahoo.com> >>
69  
70 =head1 REPOSITORY
71  
72 L<https://github.com/manwar/WWW-Google-PageSpeedOnline>
73  
74 =head1 BUGS
75  
76 Please report any bugs or feature requests to C<bug-www-google-pagespeedonline at
77 rt.cpan.org>, or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Google-PageSpeedOnline>.
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<http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Google-PageSpeedOnline>
94  
95 =item * AnnoCPAN: Annotated CPAN documentation
96  
97 L<http://annocpan.org/dist/WWW-Google-PageSpeedOnline>
98  
99 =item * CPAN Ratings
100  
101 L<http://cpanratings.perl.org/d/WWW-Google-PageSpeedOnline>
102  
103 =item * Search CPAN
104  
105 L<http://search.cpan.org/dist/WWW-Google-PageSpeedOnline/>
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<http://www.perlfoundation.org/artistic_license_2_0>
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 4 1; # End of WWW::Google::PageSpeedOnline::Stats
« PageSpeedOnline/Result/Rule.pm ↑ Summary