Condition Coverage

blib/lib/Net/DNS/RR.pm
Criterion Covered Total %
condition 42 42 100.0


and 3 conditions

line !l l&&!r l&&r condition
129 648 221 28 $#token and $token[0] =~ /^[\\]?#$/

or 2 conditions

line l !l condition
131 22 6 shift @token || 0
266 632 480 $class || 1
14 1098 $ttl || 0
289 279 26 $class || 1
67 238 $ttl || 0
470 14 800 $self->{'ttl'} || 0
475 632 1 $unit{uc $u} || die("bad time: $t$u")
521 1 1 $Data::Dumper::Maxdepth || 6
522 1 1 $Data::Dumper::Sortkeys || 1
523 1 1 $Data::Dumper::Useqq || 1
547 22 8 shift() || ''
645 6 7 shift() || 'default_sort'
649 8 5 $rrsortfunct{$type}{$attribute} || (return $default)
733 1433 1375 $self->{'#'} ||= scalar grep({not $ignore{$_};} keys %$self)
744 5627 38 length $_ || (next)

or 3 conditions

line l !l&&r !l&&!r condition
109 160 9 522 $Net::DNS::RR::classbyname{uc $t1} or $t1 =~ /^CLASS\d/i
113 222 2 10 $Net::DNS::RR::classbyname{uc $t2} or $t2 =~ /^CLASS\d/i
238 9717 85 7 $next > $index or $self->type eq "OPT"