Condition Coverage

blib/lib/Net/DNS/ZoneFile/Fast.pm
Criterion Covered Total %
condition 27 65 41.5


and 3 conditions

line !l l&&!r l&&r condition
169 158 0 2 $on_error and not exists $param{'soft_errors'}
170 158 2 0 $on_error and not exists $param{'quiet'}
268 1 23 0 $soft_errors and not $quiet
283 0 0 0 $includes_root and -f $includes_root . '/' . $fn
384 0 0 42 /\G(\d+)\.(\d+)\.(\d+)\.(\d+)$pat_skip$/ and $1 < 256
0 0 42 /\G(\d+)\.(\d+)\.(\d+)\.(\d+)$pat_skip$/ and $1 < 256 and $2 < 256
0 0 42 /\G(\d+)\.(\d+)\.(\d+)\.(\d+)$pat_skip$/ and $1 < 256 and $2 < 256 and $3 < 256
0 0 42 /\G(\d+)\.(\d+)\.(\d+)\.(\d+)$pat_skip$/ and $1 < 256 and $2 < 256 and $3 < 256 and $4 < 256
1197 2 0 0 exists $$rrsig{'needsigexp'} and /\G\s*(\d+)\s+(\d+)\s+(\d+)\s+($pat_maybefullnameorroot)/cg
0 0 2 not exists $$rrsig{'needsigexp'} and /\G\s*(\d+)\s+(\d+)\s+($pat_maybefullnameorroot)/cg
1346 0 0 0 defined $2 and $2 eq ')'

or 2 conditions

line l !l condition
168 2 158 $param{'on_error'} || undef
204 23 129 $$z{'Lines'} || 1
322 0 10 $offset ||= 0
323 0 10 $width ||= 0
324 0 10 $base ||= 'd'
1453 0 8 $ttl{'W'} ||= 0
1454 0 8 $ttl{'D'} ||= 0
1455 0 8 $ttl{'H'} ||= 0
1456 0 8 $ttl{'M'} ||= 0
1457 0 8 $ttl{'S'} ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
338 0 0 12 $default_ttl < 0 or $default_ttl > $MAXIMUM_TTL
373 0 0 68 $ttl < 0 or $ttl > $MAXIMUM_TTL
1131 0 0 0 $hem eq 'S' or $hem eq 'W'
1407 23 0 0 $$soa{'breakable'} or /\G$pat_skip$/cg