Condition Coverage

blib/lib/DNS/ZoneParse.pm
Criterion Covered Total %
condition 21 35 60.0


and 3 conditions

line !l l&&!r l&&r condition
411 10 2 0 $origin and $zonefile
416 2 10 0 not $origin and $3
417 1 11 0 not $zonefile and $1
778 8878 583 14 $in_concat and $c eq ')'
826 12 3 1102 $r ne 'email' and $r ne 'mbox'
833 0 0 0 $escape_char =~ /^\d{3}$/ and $escape_char <= 377
848 148 95 0 $$record{'class'} =~ /$rr_class/ and $$record{'ttl'} =~ /$rr_class/
243 0 0 $$record{'class'} =~ /$rr_ttl/ and $$record{'ttl'} =~ /$rr_ttl/

or 2 conditions

line l !l condition
142 3 3 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
289 3 0 0 $$record_ref{'origin'} eq '@' or $$record_ref{'origin'} =~ /\.$/
848 0 0 243 $$record{'class'} =~ /$rr_class/ and $$record{'ttl'} =~ /$rr_class/ or $$record{'class'} =~ /$rr_ttl/ and $$record{'ttl'} =~ /$rr_ttl/
856 0 38 205 $$record{'class'} =~ /$rr_ttl/ or $$record{'ttl'} =~ /$rr_class/