| blib/lib/Mojolicious/Plugin/Tables.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 18 | 61.1 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 4 | 41 | unless @_ |
| 32 | 19 | 22 | unless @_ > 1 or ref $_[0] |
| 33 | 0 | 22 | ref $_[0] ? : |
| 41 | 0 | 3 | unless eval "require $model_class" |
| 51 | 0 | 8 | if ($c->req->headers->to_string =~ /X-Forwarded/u) { } |
| 59 | 0 | 8 | if ($c->req->headers->header('X-Forwarded-HTTPS') or ($c->req->headers->header('X-Forwarded-Proto') || '') eq 'https') |
| 85 | 0 | 2 | if $ENV{'TABLES_DEBUG'} |
| 91 | 3 | 0 | unless $conf->{'nohome'} |
| 126 | 0 | 3 | if $ENV{'TABLES_DEBUG'} |