ClassFile/Struct/ParameterAnnotation.pm

filter: Statementstmt 85.1% 23 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 6 / 8 Podpod n/a totaltotal 82.8% 29 / 35 SCAR 0.0
CC
1
Cov
85%
__ANON__
2.0
__ANON__
1.3
BEGIN
1.0
CRAP 1.0
« ClassFile/Struct/LocalvarTarget.pm ↑ Summary ClassFile/Struct/TypePath.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::ParameterAnnotation;
5 1 ▶use MarpaX::Java::ClassFile::Util::ArrayStringification qw/arrayStringificator/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 use MarpaX::Java::ClassFile::Struct::_Base
7 -tiny => [qw/num_annotations annotations/],
8 '""' => [
9 0 ▶ [ sub { 'Annotations count' } => sub { $_[0]->num_annotations } ],
Subroutine __ANON__: not called CC=1 SCAR=6.9
10 1 ▶ [ sub { 'Annotations' } => sub { $_[0]->arrayStringificator($_[0]->annotations) } ]
Subroutine __ANON__: not called CC=1 SCAR=2.6
11 1 ▶ ];
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 # ABSTRACT: parameter annotation
14  
15 1 our $VERSION = '0.008'; # VERSION
16  
17 1 our $AUTHORITY = 'cpan:JDDPAUSE'; # AUTHORITY
18  
19 1 ▶use MarpaX::Java::ClassFile::Struct::_Types qw/U2 Annotation/;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use Types::Standard qw/ArrayRef/;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 1 has num_annotations => ( is => 'ro', required => 1, isa => U2 );
23 1 has annotations => ( is => 'ro', required => 1, isa => ArrayRef[Annotation] );
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::ParameterAnnotation - parameter annotation
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/LocalvarTarget.pm ↑ Summary ClassFile/Struct/TypePath.pm »