Branch Coverage

blib/lib/POE/Component/Server/Bayeux/Request.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
120 0 0 if ($self->delay) { }
147 0 0 if ($self->http_response->streaming)
155 0 0 if ($self->post_handle)
272 0 0 if (int @content_type_parts > 1)
281 0 0 if ($content_type eq 'application/x-www-form-urlencoded') { }
0 0 elsif ($content_type eq 'text/json') { }
283 0 0 if (my $content = $request->content) { }
0 0 elsif ($request->uri =~ /\?message=/) { }
290 0 0 unless ($params)
298 0 0 unless $key and $value
302 0 0 unless ($content{'message'})
318 0 0 if ($@)
321 0 0 unless ($json_requests and ref $json_requests)
324 0 0 if (ref $json_requests eq 'HASH')
338 0 0 if ($@ or not $bayeux_message or $bayeux_message->isa('POE::Component::Server::Bayeux::Message::Invalid')) { }
341 0 0 $@ ? :
364 0 0 if $self->is_error
395 0 0 if ($self->json_comment_filtered)