Branch Coverage

blib/lib/Net/IP/Identifier/Net.pm
Criterion Covered Total %
branch 8 34 23.5


line true false branch
32 0 6 if @_ != 2
33 0 6 if (ref $net)
34 0 0 if ref $net eq 'Net::IP::Identifier::Net'
38 0 0 if $net->can('src_str')
54 6 0 if (@_ > 1)
66 0 0 if ($version eq '6')
95 0 0 if ($high <= $low)
108 0 0 if (($mask & $low) == 0 and ($mask & $high) == $mask)
115 0 0 if $idx <= 0
136 0 0 if $self->prefixlen
151 0 0 $self->version == 6 ? :
161 0 0 $self->version == 6 ? :
164 0 0 if $idx < 0
172 0 0 $self->version == 6 ? :
181 0 6 if $self->ip eq $self->last_ip
182 4 2 if (defined $self->prefixlen)
183 1 3 if ($self->version eq 6)