ClassFile/Struct/ConstantIntegerInfo.pm

filter: Statementstmt 96.0% 24 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod n/a totaltotal 93.7% 30 / 32 SCAR 0.0
CC
1
Cov
96%
__ANON__
1.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ClassFile/Struct/ConstantFloatInfo.pm ↑ Summary ClassFile/Struct/ConstantDoubleInfo.pm »
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package MarpaX::Java::ClassFile::Struct::ConstantIntegerInfo;
5 use MarpaX::Java::ClassFile::Struct::_Base
6 -tiny => [qw/_perlvalue tag bytes/],
7 '""' => [
8 1 ▶ [ sub { $_[0]->_perlvalue } ]
Subroutine __ANON__: not called CC=1 SCAR=1.2
9 1 ▶ ];
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 # ABSTRACT: CONSTANT_Integer_info
12  
13 1 our $VERSION = '0.008'; # VERSION
14  
15 1 our $AUTHORITY = 'cpan:JDDPAUSE'; # AUTHORITY
16  
17 1 ▶use MarpaX::Java::ClassFile::Struct::_Types qw/U1/;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use Types::Encodings qw/Bytes/;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use Types::Standard qw/Int/;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 1 has _perlvalue => ( is => 'ro', required => 1, isa => Int );
22 1 has tag => ( is => 'ro', required => 1, isa => U1 );
23 1 has bytes => ( is => 'ro', required => 1, isa => Bytes );
24  
25 1 1;
26  
27 __END__
28  
29 =pod
30  
31 =encoding UTF-8
32  
33 =head1 NAME
34  
35 MarpaX::Java::ClassFile::Struct::ConstantIntegerInfo - CONSTANT_Integer_info
36  
37 =head1 VERSION
38  
39 version 0.008
40  
41 =head1 AUTHOR
42  
43 Jean-Damien Durand <jeandamiendurand@free.fr>
44  
45 =head1 COPYRIGHT AND LICENSE
46  
47 This software is copyright (c) 2016 by Jean-Damien Durand.
48  
49 This is free software; you can redistribute it and/or modify it under
50 the same terms as the Perl 5 programming language system itself.
51  
52 =cut
« ClassFile/Struct/ConstantFloatInfo.pm ↑ Summary ClassFile/Struct/ConstantDoubleInfo.pm »