Parser/Type/i16.pm

filter: Statementstmt 90.9% 10 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 86.6% 13 / 15 CC 1 SCAR 2.2
CC
1
Cov
91%
_max_value
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Parser/Type/byte.pm ↑ Summary Parser/Type/i32.pm »
1 package Thrift::Parser::Type::i16;
2  
3 =head1 NAME
4  
5 Thrift::Parser::Type::i16 - i16 type
6  
7 =head1 DESCRIPTION
8  
9 This class inherits from L<Thrift::Parser::Type::Number>. See the docs there for all the usage details.
10  
11 =cut
12  
13 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 6 ▶use base qw(Thrift::Parser::Type::Number);
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 0 ▶sub _max_value { 2 ** 15 }
Subroutine _max_value: not called CC=1 SCAR=6.9
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 <ewaters@gmail.com>
28  
29 =cut
30  
31 6 1;
« Parser/Type/byte.pm ↑ Summary Parser/Type/i32.pm »