Branch Coverage

blib/lib/Catalyst/DispatchType/Path.pm
Criterion Covered Total %
branch 15 22 68.2


line true false branch
30 0 0 $path eq '/' ? :
36 0 0 if keys %{$$self{'paths'};}
52 1590 504 unless $$self{'paths'}{$path}
53 8 502 unless $action->match($c)
73 20907 4142 unless $action->attributes->{'Path'}
77 4142 20907 if @register
90 0 4727 unless length $path
108 20 8 if @$captures
110 3 5 if (my $paths = $action->attributes->{'Path'}) { }
112 0 3 unless length $path
113 3 0 unless $path =~ m[^/]