Condition Coverage

blib/lib/Net/DNS/Method/Pool.pm
Criterion Covered Total %
condition 17 38 44.7


and 3 conditions

line !l l&&!r l&&r condition
29 0 0 1 defined $ref && defined $$ref{'BaseDomain'}
0 0 1 defined $ref && defined $$ref{'Prefix'}
0 0 1 defined $ref && defined $$ref{'ttl'}
94 1 0 1 $name =~ /^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)$/i and $1 >= 0
1 0 1 $name =~ /^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)$/i and $1 >= 0 and $1 <= 255
0 0 1 $name =~ /^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)$/i and $1 >= 0 and $1 <= 255 and $2 >= 0
0 0 1 $name =~ /^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)$/i and $1 >= 0 and $1 <= 255 and $2 >= 0 and $2 <= 255
0 0 1 $name =~ /^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)$/i and $1 >= 0 and $1 <= 255 and $2 >= 0 and $2 <= 255 and $3 >= 0
0 0 1 $name =~ /^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)$/i and $1 >= 0 and $1 <= 255 and $2 >= 0 and $2 <= 255 and $3 >= 0 and $3 <= 255
0 0 1 $name =~ /^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)$/i and $1 >= 0 and $1 <= 255 and $2 >= 0 and $2 <= 255 and $3 >= 0 and $3 <= 255 and $4 >= 0
0 0 1 $name =~ /^([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)$/i and $1 >= 0 and $1 <= 255 and $2 >= 0 and $2 <= 255 and $3 >= 0 and $3 <= 255 and $4 >= 0 and $4 <= 255

or 2 conditions

line l !l condition
25 1 0 ref $type || $type || 'Net::DNS::Method::Pool'

or 3 conditions

line l !l&&r !l&&!r condition
153 1 1 2 A(@_) || PTR(@_)