blib/lib/Ark/Controller.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 11 | 12 | 91.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Ark::Controller; | ||||||
2 | 57 | 57 | 27183 | use Mouse; | |||
57 | 128 | ||||||
57 | 420 | ||||||
3 | extends 'Path::AttrRouter::Controller'; | ||||||
4 | 57 | 57 | 20425 | no Mouse; | |||
57 | 123 | ||||||
57 | 240 | ||||||
5 | |||||||
6 | sub ACTION { | ||||||
7 | 463 | 463 | 0 | 1228 | my ($self, $action, $context, @args) = @_; | ||
8 | 463 | 2036 | $context->execute( $self, $action->name, @args ); | ||||
9 | } | ||||||
10 | |||||||
11 | __PACKAGE__->meta->make_immutable; |