blib/lib/Catalyst/Plugin/SmartURI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 22 | 36.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
237 | 0 | 0 | 4 | !$request_class->isa('Catalyst::Request::REST') && eval { do { Class::Load::load_class('Catalyst::Request::REST') } } |
272 | 0 | 1 | 0 | $c->req->uri->scheme eq 'http' and $port == 80 |
273 | 1 | 0 | 0 | $c->req->uri->scheme eq 'https' and $port == 443 |
line | l | !l | condition |
---|---|---|---|
223 | 4 | 0 | $conf_uri_class ||= 'URI::SmartURI' |
224 | 4 | 0 | $conf_disposition ||= 'absolute' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
220 | 4 | 0 | 0 | $app->config->{'Plugin::SmartURI'} || $app->config->{'smarturi'} |
256 | 8 | 0 | 0 | $c->uri_disposition || $conf_disposition |
257 | 8 | 0 | 0 | $c->uri_class || $conf_uri_class |