Condition Coverage

blib/lib/Nile/Dispatcher.pm
Criterion Covered Total %
condition 0 34 0.0


and 3 conditions

line !l l&&!r l&&r condition
107 0 0 0 defined $$match{'route'}{'attributes'} and $$match{'route'}{'attributes'} =~ /capture/i
111 0 0 0 defined $$match{'route'}{'attributes'} and $$match{'route'}{'attributes'} =~ /command/i
150 0 0 0 $module eq $controller and $action eq 'index'
177 0 0 0 $request_method ne '*' and not grep(/^$request_method$/i, @$attrs)

or 2 conditions

line l !l condition
81 0 0 $request_method ||= 'ajax'
82 0 0 $request_method ||= '*'
85 0 0 $route ||= ''
243 0 0 $module ||= ''
244 0 0 $controller ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
80 0 0 0 $request_method ||= $app->request->request_method
129 0 0 0 not $route or $route eq '/'
133 0 0 0 $route ||= $app->abort('Dispatcher error. No route defined.')
284 0 0 0 $route ||= $app->request->url_path