Condition Coverage

blib/lib/Yars/Routes.pm
Criterion Covered Total %
condition 19 26 73.0


and 3 conditions

line !l l&&!r l&&r condition
347 44 24 5 $assigned_root and $root eq $assigned_root

or 2 conditions

line l !l condition
343 15 44 $assigned_root //= ''

or 3 conditions

line l !l&&r !l&&!r condition
61 3 22 0 _get_from_local_stash($c, $filename, $md5) || _redirect_to_remote_stash($c, $filename, $md5) || $c->reply->not_found
66 377 2 1 $c->config->download_md5_verify('default', 1) or not $c->req->headers->header('X-Yars-Skip-Verify')
92 1 0 0 $type || $types->type('bin')
109 20 382 0 $type || $types->type('bin')
126 52 18 30 $check_stash or $url ne $c->tools->server_url
138 16 0 14 $found_dir ||= $c->tools->local_stashed_dir($filename, $md5)
151 44 0 0 $c->config->download_md5_verify('default', 1) or not $c->req->headers->header('X-Yars-Skip-Verify')