blib/lib/PocketIO/Resource.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 11 | 81.8 |
line | l | !l | condition |
---|---|---|---|
35 | 1 | 5 | $$self{'heartbeat_timeout'} ||= 15 |
36 | 1 | 5 | $$self{'close_timeout'} ||= 25 |
37 | 0 | 6 | $$self{'max_connections'} ||= 100 |
39 | 0 | 6 | $$self{'transports'} ||= ['websocket', 'flashsocket', 'htmlfile', 'xhr-polling', 'jsonp-polling'] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
51 | 2 | 5 | 1 | $method eq 'POST' or $method eq 'GET' |