Condition Coverage

blib/lib/Kelp/Routes/Pattern.pm
Criterion Covered Total %
condition 24 24 100.0


and 3 conditions

line !l l&&!r l&&r condition
43 11 76 9 $char eq '/' and $switch eq '?'
72 16 37 12 $switch ne '?' and not $rep
76 47 4 2 $check and not $args{$token} =~ /$check/
104 1098 34 74 $self->method and $self->method ne ($method // '')

or 2 conditions

line l !l condition
36 15 77 $self->check->{$token} // '[^\\/]+'
71 6 14 ($args{$token} // $self->defaults->{$token}) // ''
104 99 9 $method // ''

or 3 conditions

line l !l&&r !l&&!r condition
35 79 13 4 $_ eq ':' or $_ eq '?'
71 45 6 14 $args{$token} // $self->defaults->{$token}