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 660 237 29 $#token and $token[0] =~ /^[\\]?#$/

or 2 conditions

line l !l condition
131 23 6 shift @token || 0
273 869 276 $class || 1
17 1128 $ttl || 0
296 279 26 $class || 1
67 238 $ttl || 0
479 11 522 $self->{'ttl'} || 0
484 595 1 $unit{uc $u} || die("bad time: $t$u")
530 1 1 $Data::Dumper::Maxdepth || 6
531 1 1 $Data::Dumper::Sortkeys || 1
532 1 1 $Data::Dumper::Useqq || 1
556 26 8 shift() || ''
654 6 7 shift() || 'default_sort'
658 8 5 $rrsortfunct{$type}{$attribute} || (return $default)
742 1432 1370 $self->{'#'} ||= scalar grep({not $ignore{$_};} keys %$self)
753 5579 36 length $_ || (next)

or 3 conditions

line l !l&&r !l&&!r condition
109 45 8 398 $Net::DNS::RR::classbyname{uc $t1} or $t1 =~ /^CLASS\d/i
113 480 3 12 $Net::DNS::RR::classbyname{uc $t2} or $t2 =~ /^CLASS\d/i
241 9292 50 1 $next > $index or $self->type eq "OPT"