blib/lib/Raisin/Routes/Endpoint.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 22 | 72.7 |
line | true | false | branch |
---|---|---|---|
38 | 0 | 59 | if ($p->named and my $re = $p->regex) |
50 | 0 | 83 | if ref $self->path eq 'Regexp' |
69 | 50 | 0 | if ($_ eq ':' or $_ eq '?') |
72 | 0 | 50 | if ($_ eq '*') |
77 | 0 | 50 | if $char eq '/' and $switch eq '?' |
78 | 0 | 50 | if $switch eq '?' |
86 | 17 | 3 | unless ($self->{'tags'}) |
98 | 321 | 142 | if not $method or lc $method ne lc $self->method |
99 | 70 | 72 | unless $path =~ $self->regex |
104 | 60 | 24 | unless $p->named |
106 | 1 | 23 | unless $p->validate(\$copy, 'quite') |