blib/lib/Moose/Meta/Method/Accessor/Native/Code/execute.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; | ||||||
2 | our $VERSION = '2.2206'; | ||||||
3 | |||||||
4 | 2 | 2 | 1364 | use strict; | |||
2 | 8 | ||||||
2 | 78 | ||||||
5 | 2 | 2 | 20 | use warnings; | |||
2 | 4 | ||||||
2 | 51 | ||||||
6 | |||||||
7 | 2 | 2 | 10 | use Moose::Role; | |||
2 | 7 | ||||||
2 | 25 | ||||||
8 | |||||||
9 | with 'Moose::Meta::Method::Accessor::Native::Reader'; | ||||||
10 | |||||||
11 | sub _return_value { | ||||||
12 | 7 | 7 | 18 | my $self = shift; | |||
13 | 7 | 13 | my ($slot_access) = @_; | ||||
14 | |||||||
15 | 7 | 67 | return $slot_access . '->(@_)'; | ||||
16 | } | ||||||
17 | |||||||
18 | 2 | 2 | 16 | no Moose::Role; | |||
2 | 8 | ||||||
2 | 14 | ||||||
19 | |||||||
20 | 1; |