IDL/Type/Set.pm

filter: Statementstmt 78.5% 11 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 2 totaltotal 66.6% 14 / 21 CC 1 SCAR 3.4
CC
1
Cov
79%
name
2.0
to_str
2.0
BEGIN
1.0
CRAP 1.4
« IDL/Type/Map.pm ↑ Summary IDL/Method.pm »
1 package Thrift::IDL::Type::Set;
2  
3 =head1 NAME
4  
5 Thrift::IDL::Type::Set
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 { 'set' }
Subroutine name: not called CC=1 SCAR=6.9
Pod undocumented
29  
30 0 ▶sub to_str {
Subroutine to_str: not called CC=1 SCAR=6.9
Pod undocumented
31 0 my ($self) = @_;
32 0 return sprintf 'set (%s)', $self->val_type;
33 }
34  
35 4 1;
« IDL/Type/Map.pm ↑ Summary IDL/Method.pm »