Branch Coverage

blib/lib/Dancer2/Plugin/Ajax.pm
Criterion Covered Total %
branch 6 8 75.0


line true false branch
23 1 3 if (ref $pattern eq 'ARRAY')
29 4 0 if ref $e eq 'CODE'
34 2 6 unless ($plugin->app->request->is_ajax)
40 6 0 unless $plugin->app->response->header('Content-Type')