Branch Coverage

blib/lib/Dancer2/Plugin/Ajax.pm
Criterion Covered Total %
branch 6 10 60.0


line true false branch
15 1 2 if (ref $pattern eq 'ARRAY')
21 3 0 if ref $e eq 'CODE'
28 2 5 unless ($dsl->app->request->is_ajax)
29 0 0 if $dsl->pass
34 5 0 unless $dsl->response->header('Content-Type')