Branch Coverage

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


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