blib/lib/Dancer/App.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 19 | 84.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
59 | 2 | 26 | 1 | defined $prefix and $prefix eq "/" |
61 | 3 | 25 | 1 | defined $prefix and not $prefix =~ m[^/] |
164 | 511 | 12 | 14 | $r->has_options and not $r->validate_options($request) |
line | l | !l | condition |
---|---|---|---|
44 | 1 | 2 | 'Dancer::App'->current->prefix || '' |
67 | 25 | 3 | $prefix ||= "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
194 | 0 | 115 | 0 | $reg || 'Dancer::Route::Registry'->new |
206 | 3 | 96 | 0 | 'Dancer::App'->get('main') || 'Dancer::App'->new |