Getopt/Strict.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« Getopt/ProcessedArgv.pm ↑ Summary
1 package MooseX::Getopt::Strict;
2 # ABSTRACT: only make options for attributes with the Getopt metaclass
3  
4 1 our $VERSION = '0.78';
5  
6 1 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 with 'MooseX::Getopt';
10  
11 3 ▶around '_compute_getopt_attrs' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
12 3 my $next = shift;
13 3 my ( $class, @args ) = @_;
14 grep {
15 3 $_->does("MooseX::Getopt::Meta::Attribute::Trait")
16 } $class->$next(@args);
17 1 };
18  
19 1 1;
20  
21 __END__
« Getopt/ProcessedArgv.pm ↑ Summary