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   411 use strict;
  1         2  
  1         27  
3 1     1   4 use warnings;
  1         2  
  1         19  
4 1     1   5 use Ark::Plugin;
  1         1  
  1         6  
5              
6             sub prepare_encoding {
7 1     1 0 3 my $c = shift;
8 1         2 my $req = $c->request;
9 1         2 $req->env->{'plack.request.withencoding.encoding'} = undef;
10             }
11              
12       1 0   sub finalize_encoding { };
13              
14             1;
15