Branch Coverage

blib/lib/Farly/IPv4/ICMPType.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
13 0 92 unless defined $type
17 0 92 unless $type =~ /^\d+$/ or $type =~ /^-1$/
20 0 92 unless $type >= -1 and $type <= 255
37 14 8 if ($other->isa('Farly::IPv4::ICMPType'))
46 15 0 if ($other->isa('Farly::IPv4::ICMPType'))
48 3 12 if ($self->type == -1)
59 2 1 if ($self->contains($other) or $other->contains($self))
67 10 0 if ($other->isa('Farly::IPv4::ICMPType'))