| blib/lib/Dancer2/Core/Role/Handler.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 Dancer2::Core::Role::Handler; | ||||||
| 2 | # ABSTRACT: Role for Handlers | ||||||
| 3 | $Dancer2::Core::Role::Handler::VERSION = '2.0.1'; | ||||||
| 4 | 160 | 160 | 2261614 | use Moo::Role; | |||
| 160 | 17393 | ||||||
| 160 | 1339 | ||||||
| 5 | 160 | 160 | 97933 | use Dancer2::Core::Types; | |||
| 160 | 382 | ||||||
| 160 | 1904 | ||||||
| 6 | |||||||
| 7 | requires 'register'; | ||||||
| 8 | |||||||
| 9 | has app => ( | ||||||
| 10 | is => 'ro', | ||||||
| 11 | isa => InstanceOf ['Dancer2::Core::App'], | ||||||
| 12 | weak_ref => 1, | ||||||
| 13 | ); | ||||||
| 14 | |||||||
| 15 | 1; | ||||||
| 16 | |||||||
| 17 | __END__ |