Branch Coverage

blib/lib/Net/DNS/CloudFlare/DDNS.pm
Criterion Covered Total %
branch 11 40 27.5


line true false branch
41 0 2 if $self->verbose
44 0 0 $$_{'type'} eq 'A' ? :
47 0 0 $$_[0] eq $zone ? :
53 0 0 if exists $$map{$domain}
68 2 0 if ('TryCatch'->check_tc('CloudFlare::Client::Exception::Upstream')) { }
0 0 elsif ('TryCatch'->check_tc('CloudFlare::Client::Exception::Connection')) { }
2 0 if ($TryCatch::Error)
107 0 1 if $self->verbose
112 0 1 if $self->verbose
115 1 0 if ($res->is_success)
118 0 1 if $self->verbose
133 0 1 unless &Readonly(\my($ip), $self->_getIp)
138 0 2 if $self->verbose
142 0 4 if ($self->_lastIps->{\$dom} eq $ip)
143 0 0 if $self->verbose
148 4 0 unless defined $self->_domIds->{\$dom}
151 0 0 if $self->verbose
157 0 0 if ('TryCatch'->check_tc('CloudFlare::Client::Exception::Upstream')) { }
0 0 elsif ('TryCatch'->check_tc('CloudFlare::Client::Exception::Connection')) { }
0 0 if ($TryCatch::Error)