blib/lib/WebNano/Controller.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 18 | 94.4 |
line | true | false | branch |
---|---|---|---|
14 | 0 | 2 | if defined $self->_req |
31 | 3 | 58 | unless defined $name and length $name |
33 | 42 | 19 | if (my $map = $self->url_map) |
34 | 35 | 7 | if (ref $map eq 'HASH') |
35 | 2 | 33 | if $map->{$name} |
37 | 7 | 35 | if (ref $map eq 'ARRAY') |
38 | 2 | 5 | if grep {$_ eq $name;} @$map |
42 | 57 | 4 | unless $action |
43 | 30 | 31 | unless $action |