blib/lib/Game/Tibia/Packet/Charlist.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 21 | 47.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
44 | 1 | 1 | 0 | exists $params{'tibia'} and not $params{'tibia'} =~ /^\d+$/u |
73 | 0 | 0 | 4 | 761 <= $self->{'version'} and $self->{'version'} < 980 |
0 | 0 | 4 | defined $self->{'version'} and (761 <= $self->{'version'} and $self->{'version'} < 980) | |
74 | 1 | 3 | 0 | defined $self->{'packet'} and not defined $self->{'xtea'} |
129 | 0 | 0 | 2 | defined $self->{'characters'} and @{$self->{'characters'};} > 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
72 | 3 | 1 | 0 | $self->{'version'} //= $params{'tibia'} |
123 | 0 | 2 | 0 | shift() // $self->{'xtea'} |