File Coverage

blib/lib/Perl/Critic/Plicease.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             package Perl::Critic::Plicease;
2              
3 1     1   181373 use strict;
  1         6  
  1         23  
4 1     1   4 use warnings;
  1         2  
  1         18  
5 1     1   18 use 5.008001;
  1         3  
6              
7             # ABSTRACT: Some Perl::Critic policies used by Plicease
8             our $VERSION = '0.03'; # 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.03
26              
27             =head1 DESCRIPTION
28              
29             The L<Perl::Critic::Policy::Plicease> policies are an eclectic collection of
30             L<Perl::Critic> policies. They aren't grouped into a theme because some are
31             application specific and you should review and include them only on a case by
32             case basis.
33              
34             =over 4
35              
36             =item L<Plicease::ProhibitLeadingZeros|Perl::Critic::Policy::Plicease::ProhibitLeadingZeros>
37              
38             This is a slight remix on the prohibit leading zeros policy with some helpful exceptions.
39              
40             =item L<Plicease::ProhibitUnicodeDigitInRegexp|Perl::Critic::Policy::Plicease::ProhibitUnicodeDigitInRegexp>
41              
42             Prohibit C<\d> (match any digit) in regular expressions without the C</a> or C</u> modifier.
43              
44             =back
45              
46             =head1 AUTHOR
47              
48             Graham Ollis <plicease@cpan.org>
49              
50             =head1 COPYRIGHT AND LICENSE
51              
52             This software is copyright (c) 2019 by Graham Ollis.
53              
54             This is free software; you can redistribute it and/or modify it under
55             the same terms as the Perl 5 programming language system itself.
56              
57             =cut