blib/lib/Dancer/Plugin/Dispatcher.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 26 | 76.9 |
line | true | false | branch |
---|---|---|---|
21 | 0 | 15 | unless config()->{'plugins'} |
27 | 14 | 1 | if ($base) { } |
28 | 3 | 11 | unless ($CONTROLLERS) |
33 | 1 | 2 | unless $INC{$base_file} |
51 | 9 | 12 | if ($class) { } |
59 | 9 | 0 | if $base |
63 | 12 | 0 | if $base |
73 | 5 | 8 | unless $INC{$class_file} |
77 | 13 | 0 | if $class and $action |
99 | 11 | 2 | if $data or 'Dancer::SharedData'->response->status =~ /^3\d\d$/ |
108 | 0 | 3 | unless config()->{'plugins'} |
115 | 6 | 0 | if ($i and $r and $s) |
117 | 5 | 1 | if ($i eq 'get') { } |