blib/lib/QuadPres/Exception.pm

filter: Statementstmt 69.2% 18 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 62.5% 5 / 8 Podpod 0.0% 0 / 2 totaltotal 63.8% 23 / 36 CC 1 SCAR 3.2
CC
1
Cov
69%
_init
2.0
throw
2.0
text
2.0
CRAP 1.4
« blib/lib/QuadPres/Config.pm ↑ Summary blib/lib/QuadPres/Base.pm »
1 package QuadPres::Exception;
2 1 $QuadPres::Exception::VERSION = '0.28.2';
3 1 ▶use 5.016;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use parent 'QuadPres::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 sub _init
10 {
11 0 ▶ return;
Subroutine _init: not called CC=1 SCAR=6.9
12 }
13  
14 sub throw
15 {
16 0 ▶ my $class = shift;
Subroutine throw: not called CC=1 SCAR=6.9
Pod undocumented
17 0 my $args = shift;
18  
19 0 my $exception = $class->new();
20 0 $exception->{'text'} = $args->{text};
21  
22 0 die $exception;
23 }
24  
25 sub text
26 {
27 0 ▶ my $self = shift;
Subroutine text: not called CC=1 SCAR=6.9
Pod undocumented
28  
29 0 return $self->{'text'};
30 }
31  
32 package QuadPres::Exception::RenderFile;
33 1 $QuadPres::Exception::RenderFile::VERSION = '0.28.2';
34 1 ▶use vars qw(@ISA);
Subroutine BEGIN: called CC=1 SCAR=0.0
35  
36 1 @ISA = qw(QuadPres::Exception);
37  
38 1 1;
39  
40 __END__
41  
42 =pod
43  
44 =encoding UTF-8
45  
46 =head1 VERSION
47  
48 version 0.28.2
49  
50 =for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
51  
52 =head1 SUPPORT
53  
54 =head2 Websites
55  
56 The following websites have more information about this module, and may be of help to you. As always,
57 in addition to those websites please use your favorite search engine to discover more resources.
58  
59 =over 4
60  
61 =item *
62  
63 MetaCPAN
64  
65 A modern, open-source CPAN search engine, useful to view POD in HTML format.
66  
67 L<https://metacpan.org/release/QuadPres>
68  
69 =item *
70  
71 RT: CPAN's Bug Tracker
72  
73 The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.
74  
75 L<https://rt.cpan.org/Public/Dist/Display.html?Name=QuadPres>
76  
77 =item *
78  
79 CPANTS
80  
81 The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
82  
83 L<http://cpants.cpanauthors.org/dist/QuadPres>
84  
85 =item *
86  
87 CPAN Testers
88  
89 The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
90  
91 L<http://www.cpantesters.org/distro/Q/QuadPres>
92  
93 =item *
94  
95 CPAN Testers Matrix
96  
97 The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
98  
99 L<http://matrix.cpantesters.org/?dist=QuadPres>
100  
101 =item *
102  
103 CPAN Testers Dependencies
104  
105 The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
106  
107 L<http://deps.cpantesters.org/?module=QuadPres>
108  
109 =back
110  
111 =head2 Bugs / Feature Requests
112  
113 Please report any bugs or feature requests by email to C<bug-quadpres at rt.cpan.org>, or through
114 the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=QuadPres>. You will be automatically notified of any
115 progress on the request by the system.
116  
117 =head2 Source Code
118  
119 The code is open to the world, and available for you to hack on. Please feel free to browse it and play
120 with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull
121 from your repository :)
122  
123 L<https://github.com/shlomif/quad-pres>
124  
125 git clone https://github.com/shlomif/quad-pres.git
126  
127 =head1 AUTHOR
128  
129 Shlomi Fish <shlomif@cpan.org>
130  
131 =head1 BUGS
132  
133 Please report any bugs or feature requests on the bugtracker website
134 L<https://github.com/shlomif/quad-pres/issues>
135  
136 When submitting a bug or request, please include a test-file or a
137 patch to an existing test-file that illustrates the bug or desired
138 feature.
139  
140 =head1 COPYRIGHT AND LICENSE
141  
142 This software is Copyright (c) 2019 by Shlomi Fish.
143  
144 This is free software, licensed under:
145  
146 The MIT (X11) License
147  
148 =cut
« blib/lib/QuadPres/Config.pm ↑ Summary blib/lib/QuadPres/Base.pm »