line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Perl::Critic::Plicease; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
224995
|
use strict; |
|
1
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
28
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
23
|
|
5
|
1
|
|
|
1
|
|
28
|
use 5.008001; |
|
1
|
|
|
|
|
4
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# ABSTRACT: Some Perl::Critic policies used by Plicease |
8
|
|
|
|
|
|
|
our $VERSION = '0.02'; # VERSION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
1; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
__END__ |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=pod |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=encoding UTF-8 |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Perl::Critic::Plicease - Some Perl::Critic policies used by Plicease |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 VERSION |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
version 0.02 |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 DESCRIPTION |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
The L<Perl::Critic::Policy::Plicease> policies are a collection of L<Perl::Critic> |
30
|
|
|
|
|
|
|
policies. They aren't grouped into a theme because some are application specific |
31
|
|
|
|
|
|
|
and you should review and include them only on a case by case basis. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 AUTHOR |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Graham Ollis <plicease@cpan.org> |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This software is copyright (c) 2019 by Graham Ollis. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
42
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=cut |