Condition Coverage

blib/lib/Hoppy.pm
Criterion Covered Total %
condition 11 23 47.8


and 3 conditions

line !l l&&!r l&&r condition
73 1 0 0 not $session_id and $user_id
91 0 0 0 $sender and $session_id != $sender
103 0 0 0 $sender and $session_id != $sender
145 5 1 0 $self->config->{'test'} and $self->config->{'test'} == 1
5 0 1 $self->config->{'test'} and $self->config->{'test'} == 2

or 2 conditions

line l !l condition
167 2 4 $self->config->{'alias'} || 'xmlsocketd'
1 5 $self->config->{'port'} || 10000
185 0 6 $self->config->{'Formatter'} || 'Hoppy::Formatter::JSON'
232 0 6 $self->config->{'Room'} || 'Hoppy::Room::Memory'