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