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 1262 unless defined $path and length $path
86 759 611 unless $self->_paths->{$path}
89 40 585 unless $action->match($c)
109 116064 32231 unless $action->attributes->{'Path'}
113 32231 116064 if @register
126 19 32731 unless length $path
131 30762 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[^/]