Condition Coverage

blib/lib/Game/Tibia/Packet/Login.pm
Criterion Covered Total %
condition 10 24 41.6


and 3 conditions

line !l l&&!r l&&r condition
43 2 1 0 exists $params{'tibia'} and not $params{'tibia'} =~ /^\d+$/u
77 0 2 0 defined $self->{'rsa'} and not &blessed($self->{'rsa'})
87 2 0 0 $cmd ne 1 and $cmd ne 10
159 0 1 1 defined $self->{'undecoded'} and $self->{'undecoded'} ne ''

or 3 conditions

line l !l&&r !l&&!r condition
70 3 0 0 $self->{'version'} //= $self->{'versions'}{'client'}{'VERSION'}
71 3 0 0 $self->{'version'} //= $params{'tibia'}
72 0 0 3 not defined $self->{'version'} or $self->{'version'} >= 980
133 0 2 0 shift() // $self->{'rsa'}