Branch Coverage

examples/04-websocket-echo/app.pl
Criterion Covered Total %
branch 9 12 75.0


line true false branch
8 4 4 if $scope->{'type'} ne "websocket"
11 0 4 if $event->{'type'} ne "websocket.connect"
17 5 4 if ($frame->{'type'} eq 'websocket.receive') { }
4 0 elsif ($frame->{'type'} eq 'websocket.disconnect') { }
19 4 1 if (defined $frame->{'text'}) { }
1 0 elsif (defined $frame->{'bytes'}) { }