lib/ELF/Extract/Sections/Meta/Types.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/ELF/Extract/Sections/Meta/Scanner.pm ↑ Summary
1 4 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package ELF::Extract::Sections::Meta::Types;
6  
7 # ABSTRACT: Generic Type Constraints for E:E:S
8  
9 4 our $VERSION = '1.001004'; # TRIAL
10  
11 4 our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY
12  
13 4 ▶use MooseX::Types::Moose (qw( Object ));
Subroutine BEGIN: called CC=1 SCAR=0.0
14 4 ▶use MooseX::Types -declare => [ 'FilterField', 'ElfSection' ];
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 ## no critic (ProhibitCallsToUndeclaredSubs)
17 4 subtype FilterField, as enum( [ 'name', 'offset', 'size', ] );
18  
19 3652 ▶subtype ElfSection, as Object, where { $_->isa('ELF::Extract::Sections::Section') };
Subroutine __ANON__: called CC=1 SCAR=0.0
20  
21 4 1;
22  
23 __END__
« lib/ELF/Extract/Sections/Meta/Scanner.pm ↑ Summary