File Coverage

blib/lib/HTTP/Engine/Middleware/Status/Base.pm
Criterion Covered Total %
statement 5 5 100.0
branch n/a
condition n/a
subroutine 2 3 66.6
pod 0 2 0.0
total 7 10 70.0


line stmt bran cond sub pod time code
1             package HTTP::Engine::Middleware::Status::Base;
2 1     1   735 use Any::Moose;
  1         1  
  1         6  
3              
4             has 'name' => (
5             is =>'ro',
6             default => 'Default Status Name',
7             );
8              
9       0 0   sub render {}
10             sub render_header {
11 4     4 0 9 my $self = shift;
12 4         22 '<h2>' . $self->name . '</h2>';
13             }
14              
15             1;