File Coverage

blib/lib/Thrift/Parser/Type/byte.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::byte;
2              
3             =head1 NAME
4              
5             Thrift::Parser::Type::byte - byte 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   33 use strict;
  6         12  
  6         186  
14 6     6   78 use warnings;
  6         11  
  6         162  
15 6     6   28 use base qw(Thrift::Parser::Type::Number);
  6         19  
  6         630  
16              
17 14     14   81 sub _max_value { 2 ** 7 }
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;