Branch Coverage

blib/lib/Farly/Transport/Protocol.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
13 0 471 unless defined $protocol
17 0 471 unless $protocol =~ /^\d+$/
20 0 471 unless $protocol >= 0 and $protocol <= 255
37 459 133 if ($other->isa('Farly::Transport::Protocol'))
46 38 0 if ($other->isa('Farly::Transport::Protocol'))
48 4 34 if ($self->protocol == 0)
59 2 1 if ($self->contains($other) or $other->contains($self))
67 12 0 if ($other->isa('Farly::Transport::Protocol'))