ClassFile/Struct/ElementValue.pm

filter: Statementstmt 89.4% 17 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 87.5% 21 / 24 SCAR 0.0
CC
1
Cov
89%
__ANON__
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ClassFile/Struct/UninitializedThisVariableInfo.pm ↑ Summary ClassFile/Struct/LineNumber.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::ElementValue;
5 use MarpaX::Java::ClassFile::Struct::_Base
6 -tiny => [qw/tag value/],
7 '""' => [
8 1 ▶ [ sub { 'value' } => sub { $_[0]->value } ]
Subroutine __ANON__: not called CC=1 SCAR=2.6
9 1 ▶ ];
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 # ABSTRACT: element value
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 ConstValueIndex EnumConstValue ClassInfoIndex Annotation ArrayValue/;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 1 has tag => ( is => 'ro', required => 1, isa => U1 );
20 1 has value => ( is => 'ro', required => 1, isa => ConstValueIndex|EnumConstValue|ClassInfoIndex|Annotation|ArrayValue );
21  
22 1 1;
23  
24 __END__
25  
26 =pod
27  
28 =encoding UTF-8
29  
30 =head1 NAME
31  
32 MarpaX::Java::ClassFile::Struct::ElementValue - element value
33  
34 =head1 VERSION
35  
36 version 0.008
37  
38 =head1 AUTHOR
39  
40 Jean-Damien Durand <jeandamiendurand@free.fr>
41  
42 =head1 COPYRIGHT AND LICENSE
43  
44 This software is copyright (c) 2016 by Jean-Damien Durand.
45  
46 This is free software; you can redistribute it and/or modify it under
47 the same terms as the Perl 5 programming language system itself.
48  
49 =cut
« ClassFile/Struct/UninitializedThisVariableInfo.pm ↑ Summary ClassFile/Struct/LineNumber.pm »