Condition Coverage

blib/lib/Kelp/Routes/Pattern.pm
Criterion Covered Total %
condition 26 28 92.8


and 3 conditions

line !l l&&!r l&&r condition
45 257 0 26 defined $self->{'name'} && length $self->{'name'}
185 72 4 2 $check and not $args{$token} =~ /$check/
222 1221 64 74 $self->method and $self->method ne ($method // "")

or 2 conditions

line l !l condition
90 15 85 $self->check->{$token} // "[^\\/]+"
93 1 10 $self->check->{$token} // ".+"
179 7 20 ($args{$token} // $self->defaults->{$token}) // ""
222 137 1 $method // ""
236 22 0 $_ // ""

or 3 conditions

line l !l&&r !l&&!r condition
179 67 7 20 $args{$token} // $self->defaults->{$token}
180 27 51 16 __optional($switch) or length $rep
252 33 8 1 $other->bridge <=> $self->bridge || $self->order <=> $other->order || $self->pattern cmp $other->pattern