File Coverage

blib/lib/Thrift/Parser/Type/i32.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 14 14 100.0


line stmt bran cond sub pod time code
1             package Thrift::Parser::Type::i32;
2              
3             =head1 NAME
4              
5             Thrift::Parser::Type::i32 - i32 type
6              
7             =head1 DESCRIPTION
8              
9             This class inherits from L. See the docs there for all the usage details.
10              
11             =cut
12              
13 6     6   34 use strict;
  6         8  
  6         187  
14 6     6   30 use warnings;
  6         10  
  6         148  
15 6     6   29 use base qw(Thrift::Parser::Type::Number);
  6         12  
  6         566  
16              
17 58     58   324 sub _max_value { 2 ** 31 }
18              
19             =head1 COPYRIGHT
20              
21             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.
22              
23             The full text of the license can be found in the LICENSE file included with this module.
24              
25             =head1 AUTHOR
26              
27             Eric Waters
28              
29             =cut
30              
31             1;