Branch Coverage

blib/lib/Pinto/Server/Responder/Action.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
39 3 56 if $error_response
45 0 56 $params{'chrome'} ? :
46 0 56 $params{'pinto'} ? :
47 47 9 $params{'action'} ? :
78 57 2 $accept =~ /$media_type_rx/xi ? :
80 56 3 unless my $cmp = $version <=> $Pinto::Server::Responder::Action::PINTO_PROTOCOL_VERSION
83 1 2 $cmp > 0 ? :
117 5 5 if $result->was_successful
119 0 0 exit $result->was_successful ? :
143 92 221 if ($select->can_read(1))
145 46 46 unless defined $input
157 0 267 unless ($ok and !$socket || getpeername $socket)
163 46 0 unless $socket