Condition Coverage

blib/lib/Plack/Middleware/Statsd.pm
Criterion Covered Total %
condition 8 15 53.3


and 3 conditions

line !l l&&!r l&&r condition
136 7 0 0 defined $rate and $rate >= 1
163 2 0 5 defined $secure and $env->{'REMOTE_ADDR'}

or 2 conditions

line l !l condition
68 0 5 $self->secure_set_hash || 'SHA1'
172 0 7 $env->{'plack.xsendfile.type'} || $ENV{'HTTP_X_SENDFILE_TYPE'} || 'X-Sendfile'
179 3 4 $h->get('Content-Length') || 0

or 3 conditions

line l !l&&r !l&&!r condition
109 0 7 0 $env->{'psgix.monitor.statsd'} //= $self->client