Condition Coverage

blib/lib/Net/DNS/Create.pm
Criterion Covered Total %
condition 8 14 57.1


and 3 conditions

line !l l&&!r l&&r condition
57 0 0 43 $_[0] =~ /(\d+)([hmsdw])/ and $1 * {'s', 1, 'm', 60, 'h', 3600, 'd', 86400, 'w', 604800}->{$2}

or 2 conditions

line l !l condition
18 6 0 shift() // 'bind'
107 3 0 $$val{'serial'} // 0
108 0 3 $$_{'priority'} // 0
0 3 $$_{'weight'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
107 12 3 21 $rr eq 'a' || $rr eq 'cname' || $rr eq 'rp' || $rr eq 'soa'