blib/lib/Ark/Action.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | 2 | 2 | 100.0 |
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 14 | 15 | 93.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Ark::Action; | ||||||
2 | 59 | 59 | 33781 | use Mouse; | |||
59 | 141 | ||||||
59 | 351 | ||||||
3 | |||||||
4 | extends 'Path::AttrRouter::Action'; | ||||||
5 | |||||||
6 | 59 | 59 | 22335 | no Mouse; | |||
59 | 147 | ||||||
59 | 324 | ||||||
7 | |||||||
8 | sub dispatch { | ||||||
9 | 464 | 464 | 0 | 6839 | my ($self, $c, @args) = @_; | ||
10 | 464 | 100 | 1623 | return if $c->detached; | |||
11 | |||||||
12 | 463 | 2541 | $self->controller->ACTION( $self, $c, @args ); | ||||
13 | } | ||||||
14 | |||||||
15 | __PACKAGE__->meta->make_immutable; | ||||||
16 |