Extension/Component/ErrorHandler.pm

filter: Statementstmt 84.6% 11 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 77.7% 14 / 18 CC 1 SCAR 2.2
CC
1
Cov
85%
throw
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Extension/Exception.pm ↑ Summary
1 package App::CLI::Extension::Component::ErrorHandler;
2  
3 =pod
4  
5 =head1 NAME
6  
7 App::CLI::Extension::Component::ErrorHandler - for App::CLI::Extension error 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 App::CLI::Extension::Exception;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 18 ▶use Error;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 18 our $VERSION = '1.421';
20  
21 0 ▶sub throw {
Subroutine throw: not called CC=1 SCAR=6.9
Pod undocumented
22  
23 0 my($self, $message) = @_;
24 0 Error::throw App::CLI::Extension::Exception $message;
25 }
26  
27 18 1;
28  
29 __END__
« Extension/Exception.pm ↑ Summary