IDL/Type/Base.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.1% 16 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Parser.pm ↑ Summary IDL/Field.pm »
1 package Thrift::IDL::Type::Base;
2  
3 =head1 NAME
4  
5 Thrift::IDL::Type::Base
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 9 ▶sub to_str {
Subroutine to_str: called CC=1 SCAR=0.0
Pod undocumented
27 9 return $_[0]->name;
28 }
29  
30 4 1;
« Parser.pm ↑ Summary IDL/Field.pm »