Branch Coverage

blib/lib/jQluster/Server/WebSocket.pm
Criterion Covered Total %
branch 7 12 58.3


line true false branch
39 0 3 unless $self
42 0 5 unless $self
45 0 5 if (not ref $message or ref $message ne 'HASH')
48 0 5 unless (defined $$message{'message_type'})
51 3 2 if ($$message{'message_type'} eq 'register') { }
62 0 3 unless $self