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
346 44 27 4 $assigned_root and $root eq $assigned_root

or 2 conditions

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

or 3 conditions

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