Getopt/Meta/Attribute/NoGetopt.pm

filter: Statementstmt 90.9% 10 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 85.7% 12 / 14 CC 1 SCAR 2.9
CC
1
Cov
91%
register_implementation
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Getopt/Dashes.pm ↑ Summary Getopt.pm »
1 package MooseX::Getopt::Meta::Attribute::NoGetopt;
2 # ABSTRACT: Optional meta attribute for ignoring parameters
3  
4 27 our $VERSION = '0.78';
5  
6 27 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 27 extends 'Moose::Meta::Attribute'; # << Moose extending Moose :)
8 27 with 'MooseX::Getopt::Meta::Attribute::Trait::NoGetopt';
9  
10 27 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 # register this as a metaclass alias ...
13 package # stop confusing PAUSE
14 Moose::Meta::Attribute::Custom::NoGetopt;
15 0 ▶sub register_implementation { 'MooseX::Getopt::Meta::Attribute::NoGetopt' }
Subroutine register_implementation: not called CC=1 SCAR=6.9
16  
17 27 1;
18  
19 __END__
« Getopt/Dashes.pm ↑ Summary Getopt.pm »