Branch Coverage

blib/lib/Net/Frame/Layer/IGMP.pm
Criterion Covered Total %
branch 8 38 21.0


line true false branch
82 0 1 if ($self->type == 34) { }
83 0 0 unless $raw = $self->SUPER::pack('CCnnn', $self->type, $self->maxResp, $self->checksum, $self->reserved, $self->numGroupRecs)
91 0 1 unless $raw = $self->SUPER::pack('CCna4', $self->type, $self->maxResp, $self->checksum, inetAton($self->groupAddress))
105 0 1 unless my($type, $maxResp, $checksum, $groupAddress, $payload) = $self->SUPER::unpack('CCna4 a*', $self->raw)
113 0 1 if ($self->type == 34) { }
130 0 0 if ($self->type == 34) { }
131 0 0 unless $phpkt .= $self->SUPER::pack('CCnnn', $self->type, $self->maxResp, 0, $self->reserved, $self->numGroupRecs)
135 0 0 unless $phpkt .= $self->SUPER::pack('CCna4', $self->type, $self->maxResp, 0, inetAton($self->groupAddress))
145 0 0 unless ($start)
146 0 0 if $l->layer eq 'IGMP'
152 0 0 if (defined $last->payload and length $last->payload)
156 0 0 if (length $payload)
157 0 0 unless $phpkt .= $self->SUPER::pack('a*', $payload)
169 0 1 if $self->nextLayer
171 0 1 if ($self->payload)
172 0 0 if ($self->type == 17) { }
0 0 elsif ($self->type == 34) { }
0 0 elsif ($self->type == 19) { }
192 2 11 if ($self->type == 34) { }