Fluent/Elements/CallArguments.pm

filter: Statementstmt 90.0% 9 / 10 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 100% 1 / 1 totaltotal 81.2% 13 / 16 CC 2 SCAR 5.7
CC
2
Cov
83%
to_variables
2.0
__ANON__
2.0
BEGIN
1.0
CRAP 1.8
« Fluent/Elements/BlockPlaceable.pm ↑ Summary Fluent/Elements.pm »
1 package Translate::Fluent::Elements::CallArguments;
2  
3 6 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 extends 'Translate::Fluent::Elements::Base';
5  
6 has argument_list => (
7 is => 'ro',
8 0 ▶ default => sub { [] },
Subroutine __ANON__: not called CC=1 SCAR=6.9
9 6 );
10  
11  
12 9 ▶sub to_variables {
Subroutine to_variables: called CC=2 SCAR=7.1
Pod documented
13 9 my ( $self, $variables ) = @_;
14  
15 9 ▶ return unless $self->argument_list;
Branch: 1 branch
BranchTrueFalseTotal
unless $self->argument_list 0 9 9
16  
17 9 return $self->argument_list->to_variables;
18 }
19  
20 6 1;
21  
22 __END__
« Fluent/Elements/BlockPlaceable.pm ↑ Summary Fluent/Elements.pm »