Branch Coverage

blib/lib/Catalyst/DispatchType/Path.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
52 0 7 $avail_width * 0.5 < 35 ? :
60 1 13 defined $args ? :
70 5 2 if keys %{$self->_paths;}
84 108 1264 unless defined $path and length $path
86 759 613 unless $self->_paths->{$path}
89 40 587 unless $action->match($c)
109 116074 32233 unless $action->attributes->{'Path'}
113 32233 116074 if @register
126 19 32733 unless length $path
131 30764 1988 unless $self->_paths->{$path}
147 95 34 if @$captures
149 22 12 if (my $paths = $action->attributes->{'Path'}) { }
151 0 22 unless length $path
152 12 10 unless $path =~ m[^/]