Condition Coverage

blib/lib/Dancer/App.pm
Criterion Covered Total %
condition 16 19 84.2


and 3 conditions

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)

or 2 conditions

line l !l condition
43 1 2 'Dancer::App'->current->prefix || ''
66 25 3 $prefix ||= ""

or 3 conditions

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