lib/Egg/Plugin/Response/ErrorDocument.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 13 | 0.0 |
line | l | !l | condition |
---|---|---|---|
14 | 0 | 0 | $e->config->{'plugin_response_errordocument'} ||= {} |
16 | 0 | 0 | $e->config->{'VIEW'} || die(q[ I want setup 'VIEW' ]) |
22 | 0 | 0 | $$c{'ignore_status'} ||= ['200', '301', '302', '303', '304', '307'] |
32 | 0 | 0 | $e->response->status || (return $e->next::method) |
40 | 0 | 0 | $$c{'content_type'} || $e->config->{'content_type'} || 'text/html' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
15 | 0 | 0 | 0 | $$c{'view_name'} ||= do { my $view = $e->config->{'VIEW'} || die(q[ I want setup 'VIEW' ]); ref $$view[0] eq 'ARRAY' ? $$view[0][0] : $$view[0] } |