Condition Coverage

blib/lib/Net/DNS/ToolKit/RR.pm
Criterion Covered Total %
condition 12 21 57.1


and 3 conditions

line !l l&&!r l&&r condition
61 0 10 2 $RRtype =~ /^TYPE(\d+)$/ and $generic = TypeTxt()->{$1}
10 0 2 $RRtype =~ /^TYPE(\d+)$/ and $generic = TypeTxt()->{$1} and $generic =~ /T_(.+)/
88 6 0 4 $_ = TypeTxt()->{$type} and $_ =~ /T_(.+)/
408 11 0 2 $class && ClassTxt()->{$class}

or 3 conditions

line l !l&&r !l&&!r condition
175 5 0 6 TypeTxt()->{$type} || "TYPE$type"
176 11 0 0 ClassTxt()->{$class} || "CLASS$class"
405 0 13 0 ref $proto || $proto