Branch Coverage

blib/lib/Router/Dumb.pm
Criterion Covered Total %
branch 15 26 57.6


line true false branch
68 0 8 unless $route->isa("Router::Dumb::Route")
71 0 8 if (my $existing = $self->_route_at($npath))
100 0 0 unless $route->isa("Router::Dumb::Route")
103 0 0 if $self->_route_at($npath)
125 9 0 unless $str eq "./"
128 8 1 unless $str eq "/"
130 0 9 unless $str =~ s[^/][]u
132 3 6 if (my $route = $self->_route_at($str))
134 0 3 unless my $match = $route->check($str)
144 43 5 unless $_->part_count == @parts and $_->has_params
148 5 3 unless my $match = $candidate->check($str)
181 0 5 unless $b->part_count <=> $a->part_count
183 48 0 $filter ? :