blib/lib/Plack/Middleware/Memento.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 17 | 0.0 |
line | l | !l | condition |
---|---|---|---|
16 | 0 | 0 | $_[0]{'timegate_path'} ||= '/timegate' |
20 | 0 | 0 | $_[0]{'timemap_path'} ||= '/timemap' |
84 | 0 | 0 | $self->_handler->get_all_mementos($uri_r, $req) || (return $self->_not_found) |
149 | 0 | 0 | $self->_handler->get_all_mementos($uri_r, $req) || (return $self->_not_found) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
25 | 0 | 0 | 0 | $self->{'_handler_options'} ||= do { my $options = {}; foreach my $key (keys %$self) { next if $key =~ /(?:^_)|(?:^(?:handler|timegate_path|timemap_path)$)/; $options->{$key} = $self->{$key}; }; $options } |
39 | 0 | 0 | 0 | $self->{'_handler'} ||= do { my $class = Plack::Util::load_class($self->{'handler'}, 'Plack::Middleware::Memento::Handler'); $class->new($self->_handler_options) } |
49 | 0 | 0 | 0 | $self->_handle_timegate_request($env) or $self->_handle_timemap_request($env) |