File Coverage

blib/lib/Perl/Critic/Policy/Freenode/Prototypes.pm
Criterion Covered Total %
statement 9 10 90.0
branch n/a
condition n/a
subroutine 3 4 75.0
pod 1 1 100.0
total 13 15 86.6


line stmt bran cond sub pod time code
1              
2             use strict;
3 1     1   503 use warnings;
  1         2  
  1         23  
4 1     1   4  
  1         1  
  1         21  
5             use parent 'Perl::Critic::Policy::Community::Prototypes';
6 1     1   4  
  1         2  
  1         4  
7             our $VERSION = 'v1.0.3';
8              
9              
10 0     0 1   1;
11              
12             =head1 NAME
13              
14             Perl::Critic::Policy::Freenode::Prototypes - Don't use function prototypes
15              
16             =head1 DESCRIPTION
17              
18             Legacy C<freenode> theme policy alias.
19              
20             =head1 POLICY MOVED
21              
22             This policy has been moved to L<Perl::Critic::Community>.
23              
24             =head1 AFFILIATION
25              
26             This policy is part of L<Perl::Critic::Freenode>.
27              
28             =head1 CONFIGURATION
29              
30             This policy can be configured to recognize additional modules as enabling the
31             C<signatures> feature, by putting an entry in a C<.perlcriticrc> file like
32             this:
33              
34             [Freenode::Prototypes]
35             signature_enablers = MyApp::Base
36              
37             =head1 AUTHOR
38              
39             Dan Book, C<dbook@cpan.org>
40              
41             =head1 COPYRIGHT AND LICENSE
42              
43             Copyright 2015, Dan Book.
44              
45             This library is free software; you may redistribute it and/or modify it under
46             the terms of the Artistic License version 2.0.
47              
48             =head1 SEE ALSO
49              
50             L<Perl::Critic>, L<Perl::Critic::Community>