Branch Coverage

blib/lib/DNS/ZoneEdit.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
67 1 6 if ($k eq 'username') { }
1 5 elsif ($k eq 'password') { }
2 3 elsif ($k eq 'hostname') { }
1 2 elsif ($k eq 'myip') { }
0 2 elsif ($k eq 'tld') { }
2 0 elsif ($k eq 'secure') { }
76 1 3 if (defined $$self{'secure'}) { }
77 0 1 if ($$self{'secure'} and not _can_do_https())
84 4 0 unless ($$self{'secure'})
89 0 4 $$self{'secure'} ? :
135 0 1 unless defined $args{'username'}
138 0 1 unless defined $args{'password'}
141 0 1 unless defined $args{'hostname'}
147 0 1 if ($resp->is_success) { }
149 0 0 if ($content =~ /CODE="2\d+"/) { }