File Coverage

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   862 use strict;
  1         2  
  1         29  
3 1     1   4 use warnings;
  1         2  
  1         17  
4              
5 1     1   4 use Moo;
  1         1  
  1         4  
6              
7             with 'Articulate::Role::Component';
8              
9 1     1   218 use Articulate::Syntax qw(instantiate);
  1         1  
  1         6  
10              
11             # Currently, only Dancer1 is supported.
12              
13              
14             has provider => (
15             is => 'rw',
16             default => sub { 'Articulate::FrameworkAdapter::Dancer1' },
17             coerce => sub { instantiate(@_) },
18             );
19              
20             1;