File Coverage

blib/lib/Kelp/Module/Template/Null.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 2 2 100.0
total 18 18 100.0


line stmt bran cond sub pod time code
1             use Kelp::Base 'Kelp::Module::Template';
2 1     1   398 use Plack::Util;
  1         3  
  1         5  
3 1     1   55  
  1         2  
  1         105  
4             attr ext => 'null';
5              
6             my ( $self, %args ) = @_;
7             Plack::Util::inline_object( render => sub { "All the ducks" } );
8 1     1 1 2 }
9 1     2   4  
  2         43  
10             my ( $self, $template, $vars, @rest ) = @_;
11             $self->engine->render();
12             }
13 2     2 1 4  
14 2         6 1;