File Coverage

blib/lib/Plack/Middleware/Debug/Environment.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 1 1 100.0
total 22 22 100.0


line stmt bran cond sub pod time code
1             package Plack::Middleware::Debug::Environment;
2 2     2   1067 use 5.008;
  2         8  
3 2     2   11 use strict;
  2         4  
  2         38  
4 2     2   9 use warnings;
  2         2  
  2         51  
5 2     2   9 use parent qw(Plack::Middleware::Debug::Base);
  2         4  
  2         12  
6             our $VERSION = '0.17';
7              
8             sub run {
9 3     3 1 12 my($self, $env, $panel) = @_;
10 3     3   20 $panel->content(sub { $self->render_hash($env) });
  3         4780  
11 3         18 return;
12             }
13              
14             1;
15             __END__