ClassFile/Struct/ChopFrame.pm

filter: Statementstmt 83.3% 20 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod n/a totaltotal 80.6% 25 / 31 SCAR 0.0
CC
1
Cov
83%
__ANON__
2.0
__ANON__
1.3
BEGIN
1.0
CRAP 1.0
« ClassFile/BNF/SameFrameExtended.pm ↑ Summary ClassFile/Struct/SameFrameExtended.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::ChopFrame;
5 1 ▶use MarpaX::Java::ClassFile::Util::FrameTypeStringification qw/frameTypeStringificator/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 use MarpaX::Java::ClassFile::Struct::_Base
7 -tiny => [qw/frame_type offset_delta/],
8 '""' => [
9 0 ▶ [ sub { 'Frame type' } => sub { $_[0]->frameTypeStringificator($_[0]->frame_type) } ],
Subroutine __ANON__: not called CC=1 SCAR=6.9
10 1 ▶ [ sub { 'Offset delta' } => sub { $_[0]->offset_delta } ],
Subroutine __ANON__: not called CC=1 SCAR=2.6
11 1 ▶ ];
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 # ABSTRACT: chop_frame
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/U1 U2/;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 1 has frame_type => ( is => 'ro', required => 1, isa => U1 );
22 1 has offset_delta => ( is => 'ro', required => 1, isa => U2 );
23  
24 1 1;
25  
26 __END__
27  
28 =pod
29  
30 =encoding UTF-8
31  
32 =head1 NAME
33  
34 MarpaX::Java::ClassFile::Struct::ChopFrame - chop_frame
35  
36 =head1 VERSION
37  
38 version 0.008
39  
40 =head1 AUTHOR
41  
42 Jean-Damien Durand <jeandamiendurand@free.fr>
43  
44 =head1 COPYRIGHT AND LICENSE
45  
46 This software is copyright (c) 2016 by Jean-Damien Durand.
47  
48 This is free software; you can redistribute it and/or modify it under
49 the same terms as the Perl 5 programming language system itself.
50  
51 =cut
« ClassFile/BNF/SameFrameExtended.pm ↑ Summary ClassFile/Struct/SameFrameExtended.pm »