line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Task::Perl::Critic; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
24155
|
use 5.006001; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
45
|
|
4
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
35
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
57
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '1.008'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
1; # Magic true value required at end of module |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
__END__ |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 NAME |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Task::Perl::Critic - Install everything Perl::Critic. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 VERSION |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
This document describes Task::Perl::Critic version 1.8.0. |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 SYNOPSIS |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
This module does nothing but act as a placeholder. See L<Task>. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 DESCRIPTION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
This module does nothing but act as a placeholder. See L<Task>. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
B<WARNING>: Installing this distribution will install Policies that |
34
|
|
|
|
|
|
|
directly conflict with each other. If you do not use a |
35
|
|
|
|
|
|
|
F<.perlcriticrc> file, and your severity is set high enough, there is |
36
|
|
|
|
|
|
|
no way for your code to not have violations. A specific example: |
37
|
|
|
|
|
|
|
L<Perl::Critic::Policy::Compatibility::ProhibitThreeArgumentOpen> and |
38
|
|
|
|
|
|
|
L<Perl::Critic::Policy::InputOutput::ProhibitTwoArgOpen> directly |
39
|
|
|
|
|
|
|
contradict each other. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 INTERFACE |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
None. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 DIAGNOSTICS |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
None. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 CONFIGURATION AND ENVIRONMENT |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Task::Perl::Critic requires no configuration files or environment |
55
|
|
|
|
|
|
|
variables. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 DEPENDENCIES |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
L<Perl::Critic> |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
L<Test::Perl::Critic> |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
L<Test::Perl::Critic::Progressive> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
L<criticism> |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
L<Perl::Critic::Bangs> |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
L<Perl::Critic::Compatibility> |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
L<Perl::Critic::Dynamic> |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
L<Perl::Critic::Itch> |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
L<Perl::Critic::Lax> |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
L<Perl::Critic::Moose> |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
L<Perl::Critic::More> |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
L<Perl::Critic::Nits> |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
L<Perl::Critic::PetPeeves::JTRAMMELL> |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
L<Perl::Critic::Pulp> |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
L<Perl::Critic::Storable> |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
L<Perl::Critic::StricterSubs> |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
L<Perl::Critic::Swift> |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
L<Perl::Critic::Tics> |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head1 INCOMPATIBILITIES |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
None reported. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 BUGS AND LIMITATIONS |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
No bugs have been reported. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
Please report any bugs or feature requests to |
107
|
|
|
|
|
|
|
C<bug-task-perl-critic@rt.cpan.org>, or through the web interface at |
108
|
|
|
|
|
|
|
L<http://rt.cpan.org>. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head1 AUTHOR |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Elliot Shank C<< <perl@galumph.com> >> |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
Copyright (C)2007-2008, Elliot Shank C<< <perl@galumph.com> >>. All |
119
|
|
|
|
|
|
|
rights reserved. |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
This module is free software; you can redistribute it and/or modify it |
122
|
|
|
|
|
|
|
under the same terms as Perl itself. See L<perlartistic>. |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head1 DISCLAIMER OF WARRANTY |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
128
|
|
|
|
|
|
|
FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT |
129
|
|
|
|
|
|
|
WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER |
130
|
|
|
|
|
|
|
PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, |
131
|
|
|
|
|
|
|
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
132
|
|
|
|
|
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
133
|
|
|
|
|
|
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
134
|
|
|
|
|
|
|
SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME |
135
|
|
|
|
|
|
|
THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
138
|
|
|
|
|
|
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
139
|
|
|
|
|
|
|
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE |
140
|
|
|
|
|
|
|
TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR |
141
|
|
|
|
|
|
|
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
142
|
|
|
|
|
|
|
SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
143
|
|
|
|
|
|
|
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
144
|
|
|
|
|
|
|
FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
145
|
|
|
|
|
|
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
146
|
|
|
|
|
|
|
DAMAGES. |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=cut |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
# Local Variables: |
151
|
|
|
|
|
|
|
# mode: cperl |
152
|
|
|
|
|
|
|
# cperl-indent-level: 4 |
153
|
|
|
|
|
|
|
# fill-column: 70 |
154
|
|
|
|
|
|
|
# indent-tabs-mode: nil |
155
|
|
|
|
|
|
|
# c-indentation-style: bsd |
156
|
|
|
|
|
|
|
# End: |
157
|
|
|
|
|
|
|
# ex: set ts=8 sts=4 sw=4 tw=70 ft=perl expandtab : |