Branch Coverage

blib/lib/PAGI/Middleware/Builder.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
91 0 7 unless $_current_builder
106 0 0 unless $_current_builder
121 0 0 unless $_current_builder
193 0 1 unless $path =~ m[^/]
214 1 9 if (@{$self->{'mounts'};})
244 7 14 if ($@)
247 0 7 if $ENV{'PAGI_DEBUG'}
260 1 9 if ($condition) { }
264 1 1 if (&$condition($scope)) { }
292 2 1 if ($path eq $prefix or $path =~ m[^\Q$prefix\E/])
296 1 1 if $new_path eq ""