blib/lib/Moose/Meta/Method/Accessor/Native/Code/execute_method.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 15 | 15 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 20 | 20 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Moose::Meta::Method::Accessor::Native::Code::execute_method; | ||||||
2 | our $VERSION = '2.2205'; | ||||||
3 | |||||||
4 | 2 | 2 | 1180 | use strict; | |||
2 | 5 | ||||||
2 | 63 | ||||||
5 | 2 | 2 | 11 | use warnings; | |||
2 | 4 | ||||||
2 | 48 | ||||||
6 | |||||||
7 | 2 | 2 | 10 | use Moose::Role; | |||
2 | 3 | ||||||
2 | 14 | ||||||
8 | |||||||
9 | with 'Moose::Meta::Method::Accessor::Native::Reader'; | ||||||
10 | |||||||
11 | sub _return_value { | ||||||
12 | 4 | 4 | 11 | my $self = shift; | |||
13 | 4 | 9 | my ($slot_access) = @_; | ||||
14 | |||||||
15 | 4 | 38 | return $slot_access . '->($self, @_)'; | ||||
16 | } | ||||||
17 | |||||||
18 | 2 | 2 | 21 | no Moose::Role; | |||
2 | 6 | ||||||
2 | 9 | ||||||
19 | |||||||
20 | 1; |