blib/lib/Dancer2/Plugin/Ajax.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 8 | 75.0 |
line | true | false | branch |
---|---|---|---|
23 | 1 | 2 | if (ref $pattern eq 'ARRAY') |
29 | 3 | 0 | if ref $e eq 'CODE' |
34 | 2 | 5 | unless ($plugin->app->request->is_ajax) |
40 | 5 | 0 | unless $plugin->app->response->header('Content-Type') |