Branch Coverage

blib/lib/DNS/EasyDNS.pm
Criterion Covered Total %
branch 14 38 36.8


line true false branch
67 1 0 if ($@) { }
126 1 2 if ($k eq 'username') { }
1 1 elsif ($k eq 'password') { }
1 0 elsif ($k eq 'hostname') { }
0 0 elsif ($k eq 'tld') { }
0 0 elsif ($k eq 'myip') { }
0 0 elsif ($k eq 'mx') { }
0 0 elsif ($k eq 'backmx') { }
0 0 elsif ($k eq 'wildcard') { }
0 0 elsif ($k eq 'secure') { }
138 0 1 unless defined $$obj{'username'}
141 0 1 unless defined $$obj{'password'}
144 0 1 unless defined $args{'hostname'}
147 0 1 if (defined $$obj{'secure'}) { }
148 0 0 if ($$obj{'secure'} and not _can_do_https())
152 0 1 if (_can_do_https()) { }
162 0 1 $$obj{'secure'} ? :
168 1 0 if ($resp->is_success) { }
170 0 1 if ($code eq 'NOERROR') { }