ClassFile/Struct/ConstantUtf8Info.pm

filter: Statementstmt 96.1% 25 / 26 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 85.7% 6 / 7 Podpod n/a totaltotal 86.1% 31 / 36 SCAR 7.0
CC
2
Cov
89%
__ANON__
3.7
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« ClassFile/BNF/TypeAnnotationArray.pm ↑ Summary ClassFile/Util/ProductionMode.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::ConstantUtf8Info;
5 use MarpaX::Java::ClassFile::Struct::_Base
6 -tiny => [qw/_perlvalue tag length bytes/],
7 '""' => [
8 1 ▶ [ sub { $_[0]->_perlvalue // ''} ] # Can be undef
Subroutine __ANON__: not called CC=2 SCAR=13.0
Condition0%0/2
$_[0]->_perlvalue // ""
l!l
00
MC/DC0%0/1
$_[0]->_perlvalue // ""
$_[0]->_perlvalue
Truth table0%0/2
A
A= $_[0]->_perlvalue
Aresult
11
00
9 1 ▶ ];
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 # ABSTRACT: CONSTANT_Utf8_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 U2/;
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/Str Undef/;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 1 has _perlvalue => ( is => 'ro', required => 1, isa => Str|Undef);
22 1 has tag => ( is => 'ro', required => 1, isa => U1 );
23 1 has length => ( is => 'ro', required => 1, isa => U2 );
24 1 has bytes => ( is => 'ro', required => 1, isa => Bytes|Undef );
25  
26 1 1;
27  
28 __END__
29  
30 =pod
31  
32 =encoding UTF-8
33  
34 =head1 NAME
35  
36 MarpaX::Java::ClassFile::Struct::ConstantUtf8Info - CONSTANT_Utf8_info
37  
38 =head1 VERSION
39  
40 version 0.008
41  
42 =head1 AUTHOR
43  
44 Jean-Damien Durand <jeandamiendurand@free.fr>
45  
46 =head1 COPYRIGHT AND LICENSE
47  
48 This software is copyright (c) 2016 by Jean-Damien Durand.
49  
50 This is free software; you can redistribute it and/or modify it under
51 the same terms as the Perl 5 programming language system itself.
52  
53 =cut
« ClassFile/BNF/TypeAnnotationArray.pm ↑ Summary ClassFile/Util/ProductionMode.pm »