| line |
true |
false |
branch |
|
13
|
1 |
1 |
unless defined $$cfg{'key'} |
|
22
|
6 |
0 |
if (@_ % 2) |
|
34
|
5 |
0 |
if (@_ % 2) |
|
57
|
6 |
9 |
if ($href =~ m[^(?:/|[a-z]+://)]i) |
|
64
|
0 |
9 |
if $path eq '' |
|
73
|
0 |
12 |
if ($href =~ m[^[a-z]+://]i) |
|
77
|
0 |
0 |
if ($url->host ne $c_url->host) |
|
86
|
4 |
8 |
unless my $asset = $static->file($href) |
|
89
|
0 |
8 |
unless $asset->is_file |
|
95
|
7 |
1 |
if $ok = index($path, $p) == 0 |
|
99
|
1 |
7 |
unless $ok |
|
114
|
12 |
3 |
unless (exists $$self{'url2path'}{$abs_href}) |
|
118
|
7 |
8 |
unless my $path = $$self{'url2path'}{$abs_href} |
|
121
|
7 |
1 |
unless (exists $$self{'path2key'}{$path}) |
|
125
|
0 |
8 |
unless my $key = $$self{'path2key'}{$path} |
|
128
|
6 |
2 |
index($href, '?') == -1 ? : |