blib/lib/Moose/Meta/Method/Meta.pm

filter: Statementstmt 78.9% 15 / 19 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 100% 1 / 1 totaltotal 75.0% 21 / 28 CC 2 SCAR 8.9
CC
2
Cov
71%
_is_caller_mop_internal
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.4
« blib/lib/Moose/Exception/RoleExclusionConflict.pm ↑ Summary blib/lib/Class/MOP/Mixin/AttributeCore.pm »
1 package Moose::Meta::Method::Meta;
2 388 our $VERSION = '2.4001';
3  
4 388 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 388 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 388 ▶use parent 'Moose::Meta::Method',
Subroutine BEGIN: called CC=1 SCAR=0.0
8 388 'Class::MOP::Method::Meta';
9  
10 0 ▶sub _is_caller_mop_internal {
Subroutine _is_caller_mop_internal: not called CC=2 SCAR=17.9
11 0 my $self = shift;
12 0 my ($caller) = @_;
13 0 ▶ return 1 if $caller =~ /^Moose(?:::|$)/;
Branch: 1 branch
BranchTrueFalseTotal
if $caller =~ /^Moose(?:::|$)/ 0 0 0
14 0 return $self->SUPER::_is_caller_mop_internal($caller);
15 }
16  
17 # XXX: ugh multiple inheritance
18 3841 ▶sub wrap {
Subroutine wrap: called CC=1 SCAR=0.0
Pod documented
19 3841 my $class = shift;
20 3841 return $class->Class::MOP::Method::Meta::wrap(@_);
21 }
22  
23 122 ▶sub _make_compatible_with {
Subroutine _make_compatible_with: called CC=1 SCAR=0.0
24 122 my $self = shift;
25 122 return $self->Class::MOP::Method::Meta::_make_compatible_with(@_);
26 }
27  
28 388 1;
29  
30 # ABSTRACT: A Moose Method metaclass for C<meta> methods
31  
32 __END__
« blib/lib/Moose/Exception/RoleExclusionConflict.pm ↑ Summary blib/lib/Class/MOP/Mixin/AttributeCore.pm »