line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Dist::Zilla::Plugin::Test::UseAllModules; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
37428
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
42
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
39
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Release tests making sure all MANIFEST'ed modules pass use_oK() |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.002'; # VERSION |
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
603
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
use namespace::autoclean; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
extends 'Dist::Zilla::Plugin::InlineFiles'; |
14
|
|
|
|
|
|
|
with 'Dist::Zilla::Role::PrereqSource'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub register_prereqs { |
19
|
|
|
|
|
|
|
shift->zilla->register_prereqs( { phase => 'test' }, |
20
|
|
|
|
|
|
|
'Test::UseAllModules' => 0 ); |
21
|
|
|
|
|
|
|
return; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=pod |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=encoding utf-8 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 NAME |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Dist::Zilla::Plugin::Test::UseAllModules - Release tests making sure all MANIFEST'ed modules pass use_oK() |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 VERSION |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
version 0.002 |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 DESCRIPTION |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
This is an extension of L<Dist::Zilla::Plugin::InlineFiles>, providing |
44
|
|
|
|
|
|
|
the following files: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=over 4 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item * |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
t/00-load.t |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
A basic L<Test::UseAllModules> test |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=back |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
If a more sophisticated use of Test::UseAllModules is required, this plugin |
57
|
|
|
|
|
|
|
may not be for you. Please refer to the L<Test::UseAllModules> documentation |
58
|
|
|
|
|
|
|
for examples and more information. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=for Pod::Coverage register_prereqs |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=for :stopwords cpan testmatrix url annocpan anno bugtracker rt cpants kwalitee diff irc mailto metadata placeholders |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 SUPPORT |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 Perldoc |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
perldoc Dist::Zilla::Plugin::Test::UseAllModules |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 Websites |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The following websites have more information about this module, and may be of help to you. As always, |
75
|
|
|
|
|
|
|
in addition to those websites please use your favorite search engine to discover more resources. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=over 4 |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=item * |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
Search CPAN |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
The default CPAN search engine, useful to view POD in HTML format. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
L<http://search.cpan.org/dist/Dist-Zilla-Plugin-Test-UseAllModules> |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=item * |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
AnnoCPAN |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
The AnnoCPAN is a website that allows community annonations of Perl module documentation. |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
L<http://annocpan.org/dist/Dist-Zilla-Plugin-Test-UseAllModules> |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=item * |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
CPAN Ratings |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
The CPAN Ratings is a website that allows community ratings and reviews of Perl modules. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
L<http://cpanratings.perl.org/d/Dist-Zilla-Plugin-Test-UseAllModules> |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=item * |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
CPAN Forum |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
The CPAN Forum is a web forum for discussing Perl modules. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
L<http://cpanforum.com/dist/Dist-Zilla-Plugin-Test-UseAllModules> |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=item * |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
CPANTS |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
L<http://cpants.perl.org/dist/overview/Dist-Zilla-Plugin-Test-UseAllModules> |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=item * |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
CPAN Testers |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
The CPAN Testers is a network of smokers who run automated tests on uploaded CPAN distributions. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
L<http://www.cpantesters.org/distro/D/Dist-Zilla-Plugin-Test-UseAllModules> |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=item * |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
CPAN Testers Matrix |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
The CPAN Testers Matrix is a website that provides a visual way to determine what Perls/platforms PASSed for a distribution. |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
L<http://matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-Test-UseAllModules> |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=back |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 Email |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
You can email the author of this module at C<RUSSOZ at cpan.org> asking for help with any problems you have. |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=head2 Internet Relay Chat |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
You can get live help by using IRC ( Internet Relay Chat ). If you don't know what IRC is, |
144
|
|
|
|
|
|
|
please read this excellent guide: L<http://en.wikipedia.org/wiki/Internet_Relay_Chat>. Please |
145
|
|
|
|
|
|
|
be courteous and patient when talking to us, as we might be busy or sleeping! You can join |
146
|
|
|
|
|
|
|
those networks/channels and get help: |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=over 4 |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
=item * |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
irc.perl.org |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
You can connect to the server at 'irc.perl.org' and join this channel: #sao-paulo.pm then talk to this person for help: russoz. |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=back |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=head2 Bugs / Feature Requests |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
Please report any bugs or feature requests by email to C<bug-dist-zilla-plugin-test-useallmodules at rt.cpan.org>, or through |
161
|
|
|
|
|
|
|
the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dist-Zilla-Plugin-Test-UseAllModules>. You will be automatically notified of any |
162
|
|
|
|
|
|
|
progress on the request by the system. |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=head2 Source Code |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
The code is open to the world, and available for you to hack on. Please feel free to browse it and play |
167
|
|
|
|
|
|
|
with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull |
168
|
|
|
|
|
|
|
from your repository :) |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
L<https://github.com/russoz/Dist-Zilla-Plugin-Test-UseAllModules> |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
git clone https://github.com/russoz/Dist-Zilla-Plugin-Test-UseAllModules.git |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=head1 AUTHOR |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
Alexei Znamensky <russoz@cpan.org> |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
This software is copyright (c) 2011 by Alexei Znamensky. |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
183
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
=head1 BUGS AND LIMITATIONS |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
No bugs have been reported. |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
Please report any bugs or feature requests through the web interface at |
190
|
|
|
|
|
|
|
L<http://rt.cpan.org>. |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=head1 DISCLAIMER OF WARRANTY |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
195
|
|
|
|
|
|
|
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT |
196
|
|
|
|
|
|
|
WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER |
197
|
|
|
|
|
|
|
PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, |
198
|
|
|
|
|
|
|
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
199
|
|
|
|
|
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
200
|
|
|
|
|
|
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
201
|
|
|
|
|
|
|
SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME |
202
|
|
|
|
|
|
|
THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
205
|
|
|
|
|
|
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
206
|
|
|
|
|
|
|
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE |
207
|
|
|
|
|
|
|
TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR |
208
|
|
|
|
|
|
|
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
209
|
|
|
|
|
|
|
SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
210
|
|
|
|
|
|
|
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
211
|
|
|
|
|
|
|
FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
212
|
|
|
|
|
|
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
213
|
|
|
|
|
|
|
DAMAGES. |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=cut |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
__DATA__ |
219
|
|
|
|
|
|
|
___[ t/00-load.t ]___ |
220
|
|
|
|
|
|
|
use strict; |
221
|
|
|
|
|
|
|
use Test::UseAllModules; |
222
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
BEGIN { all_uses_ok(); } |