Condition Coverage

blib/lib/Plack/Middleware/Statsd.pm
Criterion Covered Total %
condition 9 16 56.2


and 3 conditions

line !l l&&!r l&&r condition
141 7 0 0 defined $rate and $rate >= 1
168 0 0 7 defined $secure and $env->{'REMOTE_ADDR'}

or 2 conditions

line l !l condition
177 0 7 $env->{'plack.xsendfile.type'} || $ENV{'HTTP_X_SENDFILE_TYPE'} || 'X-Sendfile'
184 3 4 $h->get('Content-Length') || 0

or 3 conditions

line l !l&&r !l&&!r condition
47 13 5 1 defined $method or $attr eq "secure_set_add"
110 0 7 0 $env->{'psgix.monitor.statsd'} //= $self->client