DeclareX/Keyword/exception.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« DeclareX/Plugin/std_constants.pm ↑ Summary DeclareX/Plugin.pm »
1 package MooseX::DeclareX::Keyword::exception;
2  
3 8 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 $MooseX::DeclareX::Keyword::exception::AUTHORITY = 'cpan:TOBYINK';
5 8 $MooseX::DeclareX::Keyword::exception::VERSION = '0.009';
6 }
7  
8 8 require MooseX::Declare;
9 8 require Throwable::Error;
10  
11 8 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 8 extends 'MooseX::DeclareX::Keyword::class';
13  
14 8 ▶use constant preferred_identifier => 'exception';
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 2 ▶after add_namespace_customizations => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
17 2 my ($self, $ctx) = @_;
18 2 $ctx->add_preamble_code_parts('extends qw/Throwable::Error/');
19 8 };
20  
21 2 ▶around auto_make_immutable => sub { 0 };
Subroutine __ANON__: called CC=1 SCAR=0.0
22  
23 8 "For the manufacture of the most exceptional classes."
« DeclareX/Plugin/std_constants.pm ↑ Summary DeclareX/Plugin.pm »