Branch Coverage

blib/lib/Eidolon/Driver/Router/Basic.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
39 0 0 if (-d $ctrl_path) { }
0 0 elsif (-f "$ctrl_path.pm" and $module ne 'Default' || $ctrl) { }
55 0 0 unless $ctrl
68 0 0 $items && @$items > 0 ? :
78 0 0 if $@
81 0 0 if ($action) { }
85 0 0 if /^Action\(['|"]?(.+?)['|"]?\)$/o
90 0 0 if ($handler)
97 0 0 unless defined $params[$_]
108 0 0 unless $handler
120 0 0 if $r->loader->get_object('Eidolon::Driver::User') and not $r->loader->get_object('Eidolon::Driver::User')->authorized and $r->config->{'app'}{'policy'} eq 'private' && !first(sub { /^Public$/; } , @{$ctrl->attr_cache->{$handler};}) || first(sub { /^Private$/; } , @{$ctrl->attr_cache->{$handler};})
139 0 0 $query ? :