File Coverage

blib/lib/Perl/Critic/Exception/Configuration.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Perl::Critic::Exception::Configuration;
2              
3 40     40   22391 use 5.010001;
  40         153  
4 40     40   248 use strict;
  40         94  
  40         844  
5 40     40   199 use warnings;
  40         91  
  40         2843  
6              
7             our $VERSION = '1.148';
8              
9             #-----------------------------------------------------------------------------
10              
11             use Exception::Class (
12 40         526 'Perl::Critic::Exception::Configuration' => {
13             isa => 'Perl::Critic::Exception',
14             description => 'A problem with Perl::Critic configuration, whether from a file or a command line or some other source.',
15             fields => [ qw{ source } ],
16             },
17 40     40   372 );
  40         123  
18              
19             #-----------------------------------------------------------------------------
20              
21             1;
22              
23             __END__
24              
25             #-----------------------------------------------------------------------------
26              
27             =pod
28              
29             =for stopwords
30              
31             =head1 NAME
32              
33             Perl::Critic::Exception::Configuration - A problem with L<Perl::Critic|Perl::Critic> configuration.
34              
35             =head1 DESCRIPTION
36              
37             A representation of a problem found with the configuration of
38             L<Perl::Critic|Perl::Critic>, whether from a F<.perlcriticrc>, another profile
39             file, or command line.
40              
41             This is an abstract class. It should never be instantiated.
42              
43              
44             =head1 INTERFACE SUPPORT
45              
46             This is considered to be a public class. Any changes to its interface
47             will go through a deprecation cycle.
48              
49              
50             =head1 METHODS
51              
52             =over
53              
54             =item C<source()>
55              
56             Where the configuration information came from, if it could be determined.
57              
58              
59             =back
60              
61              
62             =head1 SEE ALSO
63              
64             L<Perl::Critic::Exception::Configuration::Generic|Perl::Critic::Exception::Configuration::Generic>
65             L<Perl::Critic::Exception::Configuration::Option|Perl::Critic::Exception::Configuration::Option>
66              
67              
68             =head1 AUTHOR
69              
70             Elliot Shank <perl@galumph.com>
71              
72             =head1 COPYRIGHT
73              
74             Copyright (c) 2007-2011 Elliot Shank.
75              
76             This program is free software; you can redistribute it and/or modify
77             it under the same terms as Perl itself. The full text of this license
78             can be found in the LICENSE file included with this module.
79              
80             =cut
81              
82             # Local Variables:
83             # mode: cperl
84             # cperl-indent-level: 4
85             # fill-column: 78
86             # indent-tabs-mode: nil
87             # c-indentation-style: bsd
88             # End:
89             # ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround :