Policy/Freenode/Prototypes.pm

filter: Statementstmt 91.6% 11 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 88.2% 15 / 17 CC 1 SCAR 2.2
CC
1
Cov
92%
default_themes
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Policy/Freenode/PreferredAlternatives.pm ↑ Summary Policy/Freenode/StrictWarnings.pm »
1 package Perl::Critic::Policy::Freenode::Prototypes;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use parent 'Perl::Critic::Policy::Community::Prototypes';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 our $VERSION = 'v1.0.4';
9  
10 0 ▶sub default_themes { 'freenode' }
Subroutine default_themes: not called CC=1 SCAR=6.9
Pod documented
11  
12 1 1;
13  
14 =head1 NAME
15  
16 Perl::Critic::Policy::Freenode::Prototypes - Don't use function prototypes
17 (DEPRECATED)
18  
19 =head1 DESCRIPTION
20  
21 Legacy C<freenode> theme policy alias.
22  
23 =head1 POLICY MOVED
24  
25 This policy has been moved to L<Perl::Critic::Community>.
26  
27 =head1 AFFILIATION
28  
29 This policy is part of L<Perl::Critic::Freenode>.
30  
31 =head1 CONFIGURATION
32  
33 This policy can be configured to recognize additional modules as enabling the
34 C<signatures> feature, by putting an entry in a C<.perlcriticrc> file like
35 this:
36  
37 [Freenode::Prototypes]
38 signature_enablers = MyApp::Base
39  
40 =head1 AUTHOR
41  
42 Dan Book, C<dbook@cpan.org>
43  
44 =head1 COPYRIGHT AND LICENSE
45  
46 Copyright 2015, Dan Book.
47  
48 This library is free software; you may redistribute it and/or modify it under
49 the terms of the Artistic License version 2.0.
50  
51 =head1 SEE ALSO
52  
53 L<Perl::Critic>, L<Perl::Critic::Community>
« Policy/Freenode/PreferredAlternatives.pm ↑ Summary Policy/Freenode/StrictWarnings.pm »