line |
true |
false |
branch |
29
|
0 |
0 |
if $key =~ /(?:^_)|(?:^(?:handler|timegate_path|timemap_path)$)/
|
48
|
0 |
0 |
unless $env->{'REQUEST_METHOD'} =~ /GET|HEAD/
|
49
|
0 |
0 |
unless $self->_handle_timegate_request($env) or $self->_handle_timemap_request($env)
|
58
|
0 |
0 |
if (my($uri_r, $dt) = $self->_handler->wrap_memento_request($req))
|
68
|
0 |
0 |
if ($self->_handler->wrap_original_resource_request($req))
|
80
|
0 |
0 |
unless $uri_r =~ s[^$prefix/][]
|
91
|
0 |
0 |
if (defined(my $date = $req->header('Accept-Datetime'))) { }
|
92
|
0 |
0 |
unless my $dt = eval {
do {
'DateTime::Format::HTTP'->parse_datetime($date)
}
}
|
111
|
0 |
0 |
if (@$mementos == 1) { }
|
|
0 |
0 |
elsif ($closest_mem->[0] eq $mementos->[0][0]) { }
|
|
0 |
0 |
elsif ($closest_mem->[0] eq $mementos->[-1][0]) { }
|
145
|
0 |
0 |
unless $uri_r =~ s[^$prefix/][]
|
160
|
0 |
0 |
if (@$mementos == 1) { }
|
165
|
0 |
0 |
if (my $first_mem = shift @$mementos)
|
168
|
0 |
0 |
if (my $last_mem = pop @$mementos)
|
201
|
0 |
0 |
if ($mementos)
|