IDL/Type/Custom.pm

filter: Statementstmt 91.6% 11 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 82.3% 14 / 17 CC 1 SCAR 2.2
CC
1
Cov
92%
to_str
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« IDL/TypeDef.pm ↑ Summary Parser/Type/Exception.pm »
1 package Thrift::IDL::Type::Custom;
2  
3 =head1 NAME
4  
5 Thrift::IDL::Type::Custom
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(name));
17  
18 =head1 METHODS
19  
20 =head2 name
21  
22 Scalar accessor
23  
24 =cut
25  
26 0 ▶sub to_str {
Subroutine to_str: not called CC=1 SCAR=6.9
Pod undocumented
27 0 return '"' . $_[0]->name .'"';
28 }
29  
30 4 1;
« IDL/TypeDef.pm ↑ Summary Parser/Type/Exception.pm »