ClassFile/Struct/Table.pm

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