Condition Coverage

blib/lib/Net/DNS/Create/Route53.pm
Criterion Covered Total %
condition 7 24 29.1


and 2 conditions

line l !l condition
99 0 0 not $zone and scalar @{$$domain{'entries'};}

and 3 conditions

line !l l&&!r l&&r condition
53 0 0 3 warn(q[Amazon doesn't support RP records :-(]) && ()
83 19 1 1 $rr eq 'ns' && $set[0]->name . '.' eq $domain

or 2 conditions

line l !l condition
27 0 0 eval { do { [r53->get_hosted_zones] } } || []
28 0 0 (grep {$_->name eq $_[0];} @$zones)[0] // undef

or 3 conditions

line l !l&&r !l&&!r condition
20 0 0 0 $r53 //= 'Net::Amazon::Route53'->new('id', $config{'amazon_id'}, 'key', $config{'amazon_key'})
53 4 7 3 $rr eq 'a' || $rr eq 'mx' || $rr eq 'ns' || $rr eq 'srv' || $rr eq 'txt'
111 0 0 0 $_->type ne 'NS' or $_->name ne $$domain{'name'}
113 0 0 0 $$_{'value'} // @{$$_{'records'};}