Branch Coverage

blib/lib/Net/CIDR/Overlap.pm
Criterion Covered Total %
branch 4 40 10.0


line true false branch
168 0 0 unless (defined $invert)
171 0 0 unless (defined $all)
178 0 0 unless (defined $valid)
183 0 0 if ($all and $self->{$set}->contains_all($cidr)) { }
0 0 elsif (not $all and $self->{$set}->contains_any($cidr)) { }
195 0 0 if ($invert)
199 0 0 if ($contains)
251 0 0 unless (defined $invert)
254 0 0 unless (defined $all)
258 0 0 unless ($$self{$set . 'init'})
266 0 0 if ($all and $self->{$set}->contains_all($cidr)) { }
0 0 elsif (not $all and $self->{$set}->contains_any($cidr)) { }
278 0 0 if ($invert)
282 0 0 if ($contains)
318 0 0 unless (defined $cidr)
322 0 0 if (defined $self->{'list'}{$cidr})
372 0 0 unless (defined $self->{'list'}{$cidr})
402 0 3 unless (defined $cidr)
411 2 1 unless (defined $valid)
416 0 1 if ($cidr =~ /\:/)