| blib/lib/Dancer/Plugin/Negotiate.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 26 | 69.2 |
| line | true | false | branch |
|---|---|---|---|
| 102 | 7 | 17 | unless defined $variant and defined $options |
| 125 | 0 | 5 | unless defined $variant |
| 128 | 2 | 3 | if defined $options{'Type'} |
| 129 | 0 | 5 | if defined $options{'Encoding'} |
| 130 | 2 | 3 | if defined $options{'Charset'} |
| 131 | 4 | 1 | if defined $options{'Language'} |
| 167 | 0 | 6 | ref $_ eq 'HASH' ? : |
| 0 | 6 | ref $_ eq 'HASH' ? : | |
| 173 | 6 | 0 | &$grep($opt) ? : |
| 183 | 6 | 0 | $engine->view_exists($view) ? : |
| 6 | 0 | if defined $view | |
| 186 | 0 | 3 | unless defined $lang |
| 187 | 1 | 2 | unless $lang |