Branch Coverage

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)
49 0 83 if ref $self->path eq "Regexp"
68 50 0 if ($_ eq ":" or $_ eq "?")
71 0 50 if ($_ eq "*")
76 0 50 if $char eq "/" and $switch eq "?"
77 0 50 if $switch eq "?"
85 17 3 unless ($self->{'tags'})
97 321 146 if not $method or lc $method ne lc $self->method
98 70 76 unless $path =~ $self->regex
103 72 24 unless $p->named
105 1 23 unless $p->validate(\$copy, "quite")