Moose.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 14 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Perl::Critic::Moose;
2  
3 use 5.008;
4  
5 use strict;
6 use warnings;
7  
8 our $VERSION = '1.04';
9  
10 1;
11  
12 # ABSTRACT: Policies for Perl::Critic concerned with using Moose
13  
14 __END__
15  
16 =pod
17  
18 =head1 NAME
19  
20 Perl::Critic::Moose - Policies for Perl::Critic concerned with using Moose
21  
22 =head1 VERSION
23  
24 version 1.04
25  
26 =head1 DESCRIPTION
27  
28 Some L<Perl::Critic> policies that will help you keep your code in good shape
29 with regards to L<Moose>.
30  
31 The included policies are:
32  
33 =over
34  
35 =item L<Perl::Critic::Policy::Moose::ProhibitDESTROYMethod>
36  
37 Use C<DEMOLISH()> instead of C<DESTROY()>. [Severity: 3]
38  
39 =item L<Perl::Critic::Policy::Moose::ProhibitMultipleWiths>
40  
41 Compose your roles to enjoy safe composition. [Severity: 4]
42  
43 =item L<Perl::Critic::Policy::Moose::ProhibitNewMethod>
44  
45 Don't override the built-in constructors. [Severity: 4]
46  
47 =item L<Perl::Critic::Policy::Moose::RequireCleanNamespace>
48  
49 Require removing implementation details from you packages. [Severity: 3]
50  
51 =item L<Perl::Critic::Policy::Moose::RequireMakeImmutable>
52  
53 Increase performance by freezing your class structures with
54 C<< __PACKAGE__->meta()->make_immutable() >>. [Severity: 3]
55  
56 =item L<Perl::Critic::Policy::Moose::ProhibitLazyBuild>
57  
58 Prevent the use of C< lazy_build > which creates mutability
59 problems and pollutes namespaces. [Severity: 2]
60  
61 =back
62  
63 =head1 AFFILIATION
64  
65 This module has no functionality, but instead contains documentation for this
66 distribution and acts as a means of pulling other modules into a bundle. All
67 of the Policy modules contained herein will have an "AFFILIATION" section
68 announcing their participation in this grouping.
69  
70 =head1 CONFIGURATION AND ENVIRONMENT
71  
72 All policies included are in the "moose" theme. See the L<Perl::Critic>
73 documentation for how to make use of this.
74  
75 =head1 BUGS AND LIMITATIONS
76  
77 Please report any bugs or feature requests to
78 C<bug-perl-critic-moose@rt.cpan.org>, or through the web interface at
79 L<http://rt.cpan.org>.
80  
81 =head1 AUTHORS
82  
83 =over 4
84  
85 =item *
86  
87 Elliot Shank <perl@galumph.com>
88  
89 =item *
90  
91 Dave Rolsky <autarch@urth.org>
92  
93 =back
94  
95 =head1 CONTRIBUTORS
96  
97 =for stopwords Jeffrey Ryan Thalhammer Karen Etheridge Kieren Diment Noel Maddy Shawn Moore
98  
99 =over 4
100  
101 =item *
102  
103 Jeffrey Ryan Thalhammer <jeff@thaljef.org>
104  
105 =item *
106  
107 Karen Etheridge <ether@cpan.org>
108  
109 =item *
110  
111 Kieren Diment <kieren.diment@hiivesystems.com>
112  
113 =item *
114  
115 Noel Maddy <zhtwnpanta@gmail.com>
116  
117 =item *
118  
119 Shawn Moore <cpan@sartak.org>
120  
121 =back
122  
123 =head1 COPYRIGHT AND LICENSE
124  
125 This software is copyright (c) 2008 - 2015 by Elliot Shank.
126  
127 This is free software; you can redistribute it and/or modify it under
128 the same terms as the Perl 5 programming language system itself.
129  
130 =cut