blib/lib/Articulate/FrameworkAdapter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Articulate::FrameworkAdapter; | ||||||
2 | 1 | 1 | 1092 | use strict; | |||
1 | 1 | ||||||
1 | 38 | ||||||
3 | 1 | 1 | 5 | use warnings; | |||
1 | 1 | ||||||
1 | 22 | ||||||
4 | |||||||
5 | 1 | 1 | 4 | use Moo; | |||
1 | 2 | ||||||
1 | 6 | ||||||
6 | |||||||
7 | with 'Articulate::Role::Component'; | ||||||
8 | |||||||
9 | 1 | 1 | 263 | use Articulate::Syntax qw(instantiate); | |||
1 | 2 | ||||||
1 | 7 | ||||||
10 | |||||||
11 | # Currently, only Dancer1 is supported. | ||||||
12 | |||||||
13 | has provider => ( | ||||||
14 | is => 'rw', | ||||||
15 | default => sub { 'Articulate::FrameworkAdapter::Dancer1' }, | ||||||
16 | coerce => sub { instantiate(@_) }, | ||||||
17 | ); | ||||||
18 | |||||||
19 | 1; |