Branch Coverage

blib/lib/Spike/Site/Router.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
30 0 0 if @_
109 0 0 if $path =~ m[(^|/)\.]
111 0 0 length $path ? :
116 0 0 unless -f $full_path and open my $fh, '<', $full_path
118 0 0 if $req->method ne 'GET'
127 0 0 if (not $req_mtime or $req_mtime < $mtime) { }
148 0 0 unless ref $error
155 0 0 unless $handlers
157 0 0 $is_http ? :
176 0 0 $self->debug && $self->_try_static($req, $res, $path) ? :
181 0 0 unless (@handlers)
199 0 0 if ($route)
204 0 0 unless ($handler)
205 0 0 if (@methods) { }
223 0 0 if (my $error = $@)
224 0 0 if (&blessed($error)) { }
225 0 0 if ($error->isa('Spike::Error::HTTP_OK')) { }
0 0 elsif ($error->isa('Spike::Error::HTTP')) { }
0 0 elsif ($error->isa('Spike::Error')) { }
237 0 0 $error->can('text') ? :