Branch Coverage

blib/lib/Poker/Robot.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
150 0 0 if (ref $aref ne 'ARRAY')
157 0 0 if (ref $cmd or not exists $self->client_update->{$cmd})
329 0 0 if (exists $self->ring_hash->{$opts->{'table_id'}})
344 0 0 if (defined $self->bookmark) { }
349 0 0 if $self->password
350 0 0 if $self->email
351 0 0 if $self->birthday
352 0 0 if $self->handle
393 0 0 if $chair
459 0 0 unless $opts->{'login_id'} == $self->login_id
519 0 0 unless ($chair->login_id == $self->login_id)
558 0 0 unless $chips and $table
559 0 0 if $table->table_max and $chips > $table->table_max
574 0 0 if ($opts->{'success'})
594 0 0 if ($opts->{'success'}) { }
703 0 0 if $login_id == $self->login_id
766 0 0 if $tx->error
769 0 0 unless $tx->is_websocket
776 0 0 if $tx->error
784 0 0 if ($js)
802 0 0 if (ref $opts eq 'HASH')
839 0 0 unless eval { do { $self->db->prepare('SELECT 1 FROM bots') } }