blib/lib/Dist/Zilla/Plugin/Test/Legal.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Dist::Zilla::Plugin::Test::Legal;
2  
3 # ABSTRACT: common tests to check for copyright and license notices
4  
5 3 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 3 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 3 extends 'Dist::Zilla::Plugin::InlineFiles';
13  
14 3 our $VERSION = '0.03'; # VERSION
15  
16 3 __PACKAGE__->meta->make_immutable;
17  
18 3 1;
19  
20 =pod
21  
22 =encoding UTF-8
23  
24 =for :stopwords Alan Young cpan testmatrix url annocpan anno bugtracker rt cpants kwalitee
25 diff irc mailto metadata placeholders metacpan
26  
27 =head1 NAME
28  
29 Dist::Zilla::Plugin::Test::Legal - common tests to check for copyright and license notices
30  
31 =head1 VERSION
32  
33 This document describes v0.03 of Dist::Zilla::Plugin::Test::Legal
34 Released February 28, 2018 as part of Dist-Zilla-Plugin-Test-Legal.
35  
36 =head1 SYNOPSIS
37  
38 in C<dist.ini>
39  
40 [Test::Legal]
41  
42 =head1 DESCRIPTION
43  
44 This module will add a L<Test::Legal> test as a release test to your module
45  
46 =head1 REQUIRES
47  
48 =over 4
49  
50 =item * L<Moose|Moose>
51  
52 =item * L<namespace::autoclean|namespace::autoclean>
53  
54 =back
55  
56 =head1 SUPPORT
57  
58 =head2 Perldoc
59  
60 You can find documentation for this module with the perldoc command.
61  
62 perldoc Dist::Zilla::Plugin::Test::Legal
63  
64 =head2 Websites
65  
66 The following websites have more information about this module, and may be of help to you. As always,
67 in addition to those websites please use your favorite search engine to discover more resources.
68  
69 =over 4
70  
71 =item *
72  
73 MetaCPAN
74  
75 A modern, open-source CPAN search engine, useful to view POD in HTML format.
76  
77 L<https://metacpan.org/release/Dist-Zilla-Plugin-Test-Legal>
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-Legal>
86  
87 =item *
88  
89 RT: CPAN's Bug Tracker
90  
91 The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.
92  
93 L<https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Test-Legal>
94  
95 =item *
96  
97 AnnoCPAN
98  
99 The AnnoCPAN is a website that allows community annotations of Perl module documentation.
100  
101 L<http://annocpan.org/dist/Dist-Zilla-Plugin-Test-Legal>
102  
103 =item *
104  
105 CPAN Ratings
106  
107 The CPAN Ratings is a website that allows community ratings and reviews of Perl modules.
108  
109 L<http://cpanratings.perl.org/d/Dist-Zilla-Plugin-Test-Legal>
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.cpanauthors.org/dist/Dist-Zilla-Plugin-Test-Legal>
118  
119 =item *
120  
121 CPAN Testers
122  
123 The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
124  
125 L<http://www.cpantesters.org/distro/D/Dist-Zilla-Plugin-Test-Legal>
126  
127 =item *
128  
129 CPAN Testers Matrix
130  
131 The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
132  
133 L<http://matrix.cpantesters.org/?dist=Dist-Zilla-Plugin-Test-Legal>
134  
135 =item *
136  
137 CPAN Testers Dependencies
138  
139 The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
140  
141 L<http://deps.cpantesters.org/?module=Dist::Zilla::Plugin::Test::Legal>
142  
143 =back
144  
145 =head2 Email
146  
147 You can email the author of this module at C<AYOUNG at cpan.org> asking for help with any problems you have.
148  
149 =head2 Bugs / Feature Requests
150  
151 Please report any bugs or feature requests through the web interface at L<https://github.com/harleypig/Dist-Zilla-Plugin-Test-Legal/issues>. You will be automatically notified of any progress on the request by the system.
152  
153 =head2 Source Code
154  
155 The code is open to the world, and available for you to hack on. Please feel free to browse it and play
156 with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull
157 from your repository :)
158  
159 L<https://github.com/harleypig/Dist-Zilla-Plugin-Test-Legal>
160  
161 git clone git://github.com/harleypig/Dist-Zilla-Plugin-Test-Legal.git
162  
163 =head1 INSTALLATION
164  
165 See perlmodinstall for information and options on installing Perl modules.
166  
167 =head1 CHANGES
168  
169 =head2 Version 0.02 (2014-11-21T14:58:09+00:00)
170  
171 =over 4
172  
173 =item *
174  
175 Brought dist up to date with dzil, added some dzil features, like dzil bakeini
176  
177 =item *
178  
179 Made test check for existence of dependent module and skip instead of dying if it didn't exist.
180  
181 =back
182  
183 =head2 Version 0.01 (2012-01-03T20:17:03Z)
184  
185 =over 4
186  
187 =item *
188  
189 Initial Creation
190  
191 =back
192  
193 =head1 AUTHOR
194  
195 Alan Young <ayoung@cpan.org>
196  
197 =head1 COPYRIGHT AND LICENSE
198  
199 This software is copyright (c) 2014 by Alan Young.
200  
201 This is free software; you can redistribute it and/or modify it under
202 the same terms as the Perl 5 programming language system itself.
203  
204 =head1 DISCLAIMER OF WARRANTY
205  
206 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
207 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
208 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
209 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
210 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
211 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
212 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
213 SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME
214 THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
215  
216 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
217 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
218 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
219 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
220 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
221 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
222 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
223 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
224 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
225 DAMAGES.
226  
227 =cut
228  
229 __DATA__
↑ Summary