Branch Coverage: lib/Yukki/Web/Router/Route.pm

# Branch Coverage

File: | lib/Yukki/Web/Router/Route.pm
Coverage: | 80.0%

line | % | coverage | branch
--- | --- | --- | ---
112 | 100 | T | F | if (ref $defaults{$key} eq 'ARRAY')
130 | 100 | T | F | unless @$parts >= $self->length_without_optionals and $self->has_slurpy_match || @$parts <= $self->length
136 | 50 | T | F | $self->has_defaults ? :
139 | 100 | T | F | unless (@parts)
140 | 50 | T | F | unless $self->is_component_optional($c)
147 | 100 | T | F | if ($self->is_component_slurpy($c)) { }
155 | 100 | T | F | if ($self->is_component_variable($c)) { }
158 | 50 | T | F | if (my $v = $self->has_validation_for($name))
159 | 50 | T | F | unless $v->check($part)
166 | 100 | T | F | unless $c eq $part