File Coverage

blib/lib/Ark/Plugin/Encoding/Null.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 2 0.0
total 17 19 89.4


line stmt bran cond sub pod time code
1             package Ark::Plugin::Encoding::Null;
2 1     1   495 use strict;
  1         2  
  1         30  
3 1     1   6 use warnings;
  1         2  
  1         23  
4 1     1   5 use Ark::Plugin;
  1         2  
  1         6  
5              
6             sub prepare_encoding {
7 1     1 0 2 my $c = shift;
8 1         3 my $req = $c->request;
9 1         15 $req->env->{'plack.request.withencoding.encoding'} = undef;
10             }
11              
12       1 0   sub finalize_encoding { };
13              
14             1;
15