lib/Perl/ToPerl6/Exception.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 1 / 1 totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Perl/ToPerl6/Transformer/Builtins/AddWhitespace.pm ↑ Summary lib/Perl/ToPerl6/Exception/Configuration.pm »
1 package Perl::ToPerl6::Exception;
2  
3 30 ▶use 5.006001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 30 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 30 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 #-----------------------------------------------------------------------------
8  
9 30 ▶use Exception::Class (
Subroutine BEGIN: called CC=1 SCAR=0.0
10 30 'Perl::ToPerl6::Exception' => {
11 isa => 'Exception::Class::Base',
12 description => 'A problem discovered by Perl::ToPerl6.',
13 },
14 30 );
15  
16 30 ▶use Exporter 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 #-----------------------------------------------------------------------------
19  
20 10 ▶sub short_class_name {
Subroutine short_class_name: called CC=1 SCAR=0.0
Pod documented
21 10 my ( $self ) = @_;
22  
23 10 return substr ref $self, (length 'Perl::ToPerl6') + 2;
24 }
25  
26 #-----------------------------------------------------------------------------
27  
28  
29 30 1;
30  
31 __END__
« lib/Perl/ToPerl6/Transformer/Builtins/AddWhitespace.pm ↑ Summary lib/Perl/ToPerl6/Exception/Configuration.pm »