Branch Coverage

blib/lib/Net/TacacsPlus/Packet.pm
Criterion Covered Total %
branch 7 50 14.0


line true false branch
194 0 1 if ($params{'raw'})
201 1 0 unless (exists $params{'version'})
202 0 1 $params{'major_version'} ? :
203 0 1 $params{'minor_version'} ? :
211 0 1 unless defined $type
215 1 0 if ($type == 1) { }
0 0 elsif ($type == 2) { }
0 0 elsif ($type == 3) { }
217 1 0 if ($params{'action'}) { }
0 0 elsif ($params{'user_msg'}) { }
0 0 elsif ($params{'status'}) { }
255 0 0 if ($snd->seq_no + 1 != $rcv->seq_no)
256 0 0 if ($snd->session_id != $rcv->session_id)
257 0 0 if ($snd->version != $rcv->version)
258 0 0 if ($snd->flags != $rcv->flags)
280 0 0 if ($self->seq_no % 2 == 0) { }
281 0 0 if ($self->type == 1) { }
0 0 elsif ($self->type == 2) { }
0 0 elsif ($self->type == 3) { }
297 0 0 if ($self->type == 1) { }
0 0 elsif ($self->type == 2) { }
0 0 elsif ($self->type == 3) { }
339 0 0 unless $self->key
458 0 0 if ($self->type == 2) { }
511 0 0 if $bytes != length $raw_pkt