Branch Coverage

blib/lib/Net/DRI/Protocol/EPP/Extensions/CentralNic/Pricing.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
92 0 0 unless Net::DRI::Util::has_key($rd, 'pricing')
94 0 0 if ref $domain and @$domain > 1
95 0 0 unless Net::DRI::Util::has_key($$rd{'pricing'}, 'currency') and Net::DRI::Util::has_key($$rd{'pricing'}, 'action') and Net::DRI::Util::has_key($$rd{'pricing'}, 'duration')
99 0 0 unless $$rp{'currency'} =~ /^[A-Z]{3}$/
101 0 0 unless $$rp{'action'} =~ /^(?:create|transfer|renew|restore)$/
103 0 0 unless Net::DRI::Util::is_class($$rp{'duration'}, 'DateTime::Duration')
116 0 0 unless $mes->is_success
119 0 0 unless $chkdata
125 0 0 if ($name =~ /^(currency|action)$/) { }
0 0 elsif ($name eq 'period') { }
0 0 elsif ($name eq 'price') { }