Signatures/ParamCollection.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.6% 22 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Signatures/Types.pm ↑ Summary Signatures/Param/Bindable.pm »
1 package Parse::Method::Signatures::ParamCollection;
2  
3 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use MooseX::Types::Moose qw/ArrayRef/;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use Parse::Method::Signatures::Types qw/Param/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 3 has params => (
10 is => 'ro',
11 isa => ArrayRef[Param],
12 required => 1,
13 auto_deref => 1,
14 );
15  
16 sub to_string {
17 103 ▶ my ($self) = @_;
Subroutine to_string: called CC=1 SCAR=0.0
Pod undocumented
18 103 return join(q{, }, map { $_->to_string } $self->params);
19 }
20  
21 3 1;
« Signatures/Types.pm ↑ Summary Signatures/Param/Bindable.pm »