Condition Coverage

blib/lib/Plack/Middleware/ProofOfWork.pm
Criterion Covered Total %
condition 11 31 35.4


and 3 conditions

line !l l&&!r l&&r condition
176 0 0 0 $@ and $@ =~ /timeout/
207 0 0 0 $@ and $@ =~ /timeout/
278 0 0 8 not $@ and defined $dist_file
0 0 8 not $@ and defined $dist_file and -f $dist_file
0 0 8 not $@ and defined $dist_file and -f $dist_file and -r $dist_file
289 0 0 0 -f $path and -r $path
300 0 0 8 -f $filepath and -r $filepath

or 2 conditions

line l !l condition
117 2 1 $req->user_agent || ''
118 0 0 $req->address || $req->env->{'REMOTE_ADDR'} || ''
257 7 1 $req->user_agent || 'Unknown'
258 4 4 $req->header('Accept-Language') || 'Empty'
259 8 0 $req->header('Host') || 'Unknown'