lib/Perl/ToPerl6/TransformerParameter/Behavior.pm

filter: Statementstmt 88.8% 16 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 66.6% 2 / 3 totaltotal 85.7% 24 / 28 CC 1 SCAR 1.3
CC
1
Cov
89%
initialize_parameter
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« lib/Perl/ToPerl6/TransformerListing.pm ↑ Summary lib/Perl/ToPerl6/Transformer/BasicTypes/Integers/RewriteBinaryNumbers.pm »
1 package Perl::ToPerl6::TransformerParameter::Behavior;
2  
3 23 ▶use 5.006001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 23 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 23 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 23 ▶use Perl::ToPerl6::Utils qw{ :characters };
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 #-----------------------------------------------------------------------------
10  
11 115 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
12 115 my $class = shift;
13  
14 115 return bless {}, $class;
15 }
16  
17 #-----------------------------------------------------------------------------
18  
19 0 ▶sub initialize_parameter {
Subroutine initialize_parameter: not called CC=1 SCAR=6.9
Pod documented
20 0 my ($self, $parameter, $specification) = @_;
21  
22 0 return;
23 }
24  
25 #-----------------------------------------------------------------------------
26  
27 5 ▶sub generate_parameter_description {
Subroutine generate_parameter_description: called CC=1 SCAR=0.0
Pod documented
28 5 my ($self, $parameter) = @_;
29  
30 5 return $parameter->_get_description_with_trailing_period();
31 }
32  
33 #-----------------------------------------------------------------------------
34  
35 23 1;
36  
37 __END__
« lib/Perl/ToPerl6/TransformerListing.pm ↑ Summary lib/Perl/ToPerl6/Transformer/BasicTypes/Integers/RewriteBinaryNumbers.pm »