blib/lib/SockJS/Transport/XHRSend.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
22 | 1 | 5 | unless $session->is_connected |
25 | 1 | 4 | if $data and ref $data eq 'ARRAY' |
27 | 1 | 3 | unless length $data |
32 | 1 | 2 | unless (eval { do { $message = $json->decode($data) } }) |
36 | 2 | 0 | if ($message and ref $message eq 'ARRAY') |
50 | 1 | 4 | unless $rcount == $content_length |