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 5 $_[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 1 0 $$val{'serial'} // 0
108 0 1 $$_{'priority'} // 0
0 1 $$_{'weight'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
107 4 1 7 $rr eq 'a' || $rr eq 'cname' || $rr eq 'rp' || $rr eq 'soa'