IDL/Type/List.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 2 totaltotal 80.9% 17 / 21 CC 1 SCAR 1.8
CC
1
Cov
93%
name
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Parser/Type/i64.pm ↑ Summary Parser/Types.pm »
1 package Thrift::IDL::Type::List;
2  
3 =head1 NAME
4  
5 Thrift::IDL::Type::List
6  
7 =head1 DESCRIPTION
8  
9 Inherits from L<Thrift::IDL::Type>
10  
11 =cut
12  
13 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 4 ▶use base qw(Thrift::IDL::Type);
Subroutine BEGIN: called CC=1 SCAR=0.0
16 4 __PACKAGE__->mk_accessors(qw(val_type cpp_type));
17  
18 =head1 METHODS
19  
20 =head2 val_type
21  
22 =head2 cpp_type
23  
24 Scalar accessors
25  
26 =cut
27  
28 0 ▶sub name { 'list' }
Subroutine name: not called CC=1 SCAR=6.9
Pod undocumented
29  
30 3 ▶sub to_str {
Subroutine to_str: called CC=1 SCAR=0.0
Pod undocumented
31 3 my ($self) = @_;
32 3 return sprintf 'list (%s)', $self->val_type;
33 }
34  
35 4 1;
« Parser/Type/i64.pm ↑ Summary Parser/Types.pm »