Condition Coverage

blib/lib/Plack/Middleware/SocketIO/Connection.pm
Criterion Covered Total %
condition 5 13 38.4


or 2 conditions

line l !l condition
15 0 1 $$self{'on_connect'} ||= sub { }
16 0 1 $$self{'on_message'} ||= sub { }
17 0 1 $$self{'on_disconnect'} ||= sub { }
18 0 1 $$self{'on_error'} ||= sub { }
21 0 1 $$self{'on_write'} ||= sub { }

or 3 conditions

line l !l&&r !l&&!r condition
59 0 0 0 $$self{'id'} ||= $self->_generate_id