Parser/Type/Exception.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 82.3% 14 / 17 CC 1 SCAR 2.2
CC
1
Cov
83%
throw
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« IDL/Type/Custom.pm ↑ Summary Parser/Type/byte.pm »
1 package Thrift::Parser::Type::Exception;
2  
3 =head1 NAME
4  
5 Thrift::Parser::Type::Exception - Exception type
6  
7 =head1 DESCRIPTION
8  
9 =cut
10  
11 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 6 ▶use base qw(Thrift::Parser::Type::Struct);
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 =head1 METHODS
16  
17 This class inherits from L<Thrift::Parser::Type>; see docs there for inherited methods.
18  
19 =head2 throw
20  
21 =cut
22  
23 0 ▶sub throw {
Subroutine throw: not called CC=1 SCAR=6.9
Pod documented
24 0 my $class = shift;
25 0 die $class->compose({ @_ });
26 }
27  
28 =head1 COPYRIGHT
29  
30 Copyright (c) 2009 Eric Waters and XMission LLC (http://www.xmission.com/). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
31  
32 The full text of the license can be found in the LICENSE file included with this module.
33  
34 =head1 AUTHOR
35  
36 Eric Waters <ewaters@gmail.com>
37  
38 =cut
39  
40 6 1;
« IDL/Type/Custom.pm ↑ Summary Parser/Type/byte.pm »