Branch Coverage

blib/lib/Plack/Middleware/SizeLimit.pm
Criterion Covered Total %
branch 4 14 28.5


line true false branch
34 0 0 unless $env->{'psgix.harakiri'} or $env->{'psgix.harakiri.supported'}
36 0 1 if (my $interval = $self->check_every_n_requests)
38 0 0 if $pinc % $interval
42 1 0 if ($env->{'psgix.harakiri'}) { }
0 0 elsif ($env->{'psgix.harakiri.supported'}) { }
51 1 0 if ($harakiri and $self->log_when_limits_exceeded)
56 1 0 if (my $logger = $env->{'psgix.logger'}) { }