Extension/Exception.pm

filter: Statementstmt 57.1% 8 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 100% 1 / 1 totaltotal 61.1% 11 / 18 CC 1 SCAR 2.9
CC
1
Cov
57%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Extension.pm ↑ Summary Extension/Component/ErrorHandler.pm »
1 package App::CLI::Extension::Exception;
2  
3 =pod
4  
5 =head1 NAME
6  
7 App::CLI::Extension::Exception - for App::CLI exception module
8  
9 =head1 VERSION
10  
11 1.421
12  
13 =cut
14  
15 18 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 18 ▶use base qw(Error::Simple);
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 18 our $VERSION = '1.421';
19  
20 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
21  
22 0 my($class, $message) = @_;
23 0 chomp $message;
24  
25 #local $Error::Depth = $Error::Depth + 1;
26 0 local $Error::Depth = $Error::Depth + 2;
27 0 local $Error::Debug = 1;
28 0 my $self = $class->SUPER::new($message);
29  
30 0 return $self;
31 }
32  
33 18 1;
34  
35 __END__
« Extension.pm ↑ Summary Extension/Component/ErrorHandler.pm »