Branch Coverage

blib/lib/Game/Tibia/Packet.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
75 1 5 unless ref $self->{'version'}
76 3 3 if ($self->{'packet'} ne '')
105 0 0 if $len + 2 != length $packet
109 0 0 if $a32->digest ne reverse($adler)
137 3 0 if ($self->{'version'}{'XTEA'} and defined $XTEA)
154 0 3 if ($self->{'version'}{'ADLER32'})
179 1 13 if ref $ver
181 0 14 unless $ver =~ /^\d+/u
183 6 0 $ver >= 761 ? :
8 6 $ver >= 830 ? :