MethodAttributes/Role/Meta/Method/Wrapped.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
attributes
1.0
CRAP 1.0
« MethodAttributes/Role/Meta/Method.pm ↑ Summary
1 package MooseX::MethodAttributes::Role::Meta::Method::Wrapped;
2 # ABSTRACT: wrapped metamethod role allowing code attribute introspection
3  
4 19 our $VERSION = '0.32';
5  
6 19 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 19 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 #pod =method attributes
11 #pod
12 #pod Gets the list of code attributes of the original method this meta method wraps.
13 #pod
14 #pod =cut
15  
16 7 ▶sub attributes {
Subroutine attributes: called CC=1 SCAR=0.0
Pod documented
17 7 my ($self) = @_;
18 7 return $self->get_original_method->attributes;
19 }
20  
21 23 ▶sub _get_attributed_coderef {
Subroutine _get_attributed_coderef: called CC=1 SCAR=0.0
22 23 my ($self) = @_;
23 23 return $self->get_original_method->_get_attributed_coderef;
24 }
25  
26 19 1;
27  
28 __END__
« MethodAttributes/Role/Meta/Method.pm ↑ Summary