blib/lib/Dancer/App.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 19 | 84.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
58 | 2 | 26 | 1 | defined $prefix and $prefix eq "/" |
60 | 3 | 25 | 1 | defined $prefix and not $prefix =~ m[^/] |
163 | 508 | 12 | 14 | $r->has_options and not $r->validate_options($request) |
line | l | !l | condition |
---|---|---|---|
43 | 1 | 2 | 'Dancer::App'->current->prefix || '' |
66 | 25 | 3 | $prefix ||= "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
193 | 0 | 114 | 0 | $reg || 'Dancer::Route::Registry'->new |
205 | 3 | 95 | 0 | 'Dancer::App'->get('main') || 'Dancer::App'->new |