| blib/lib/Mojolicious/Plugin/Tables.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 22 | 54.5 |
| line | l | !l | condition |
|---|---|---|---|
| 18 | 0 | 0 | $c->stash->{$slot} ||= [] |
| 23 | 0 | 0 | $c->session->{'new_flash'}{$slot} ||= [] |
| 30 | 37 | 8 | $c->stash->{'shipped'} ||= {} |
| 38 | 0 | 3 | $conf->{'layout'} || 'tables' |
| 40 | 0 | 3 | $conf->{'model_class'} ||= 'Mojolicious::Plugin::Tables::Model' |
| 59 | 0 | 8 | $c->req->headers->header('X-Forwarded-Proto') || '' |
| 80 | 8 | 4 | $c->stash('table') || (last) |
| 82 | 2 | 6 | $renderer->template_path({%$options, 'template', $custom_template}) || (last) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 32 | 22 | 0 | 19 | @_ > 1 or ref $_[0] |
| 59 | 0 | 0 | 8 | $c->req->headers->header('X-Forwarded-HTTPS') or ($c->req->headers->header('X-Forwarded-Proto') || '') eq 'https' |