Condition Coverage

blib/lib/Path/Router.pm
Criterion Covered Total %
condition 23 23 100.0


and 3 conditions

line !l l&&!r l&&r condition
215 4 73 183 @keys >= keys %required and @keys <= keys(%required) + keys(%optional) + keys(%match)
243 61 1 16 $route->is_component_optional($component) and $route->defaults->{$name}
62 11 5 $route->is_component_optional($component) and $route->defaults->{$name} and $route->defaults->{$name} eq $url_map{$name}

or 2 conditions

line l !l condition
96 2 1 delete $options{'at'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
117 1 1 3 $path eq '' or $path =~ m[/$]
156 6 2 4 not defined $min or $vars < $min
224 24 171 10 $required{$_} || $optional{$_} || $match{$_}
309 3 1 2 not defined $min or $extra < $min