blib/lib/MooseX/Meta/Method/Transactional/Application/ToClass.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package MooseX::Meta::Method::Transactional::Application::ToClass; | ||||||
2 | 5 | 5 | 18348 | use Moose::Role; | |||
5 | 9 | ||||||
5 | 32 | ||||||
3 | 5 | 5 | 20246 | use Moose::Util::MetaRole; | |||
5 | 10 | ||||||
5 | 412 | ||||||
4 | |||||||
5 | after apply => sub { | ||||||
6 | my ($self, $role_source, $role_dest, $args) = @_; | ||||||
7 | |||||||
8 | Moose::Util::MetaRole::apply_base_class_roles | ||||||
9 | ( | ||||||
10 | for => $role_dest->name, | ||||||
11 | roles => ['MooseX::Meta::Method::Transactional'] | ||||||
12 | ); | ||||||
13 | }; | ||||||
14 | |||||||
15 | 1; |