Condition Coverage

blib/lib/Net/EPP/Registry/Nominet.pm
Criterion Covered Total %
condition 4 95 4.2


and 3 conditions

line !l l&&!r l&&r condition
155 1 0 0 $params{'port'} and $params{'port'} != 700
177 0 1 0 $params{'ssl'} and $params{'ciphers'}
190 0 0 0 $years > 0 and $years < 11
208 0 0 0 defined $params{'login'} and $params{'login'} == 0
399 0 0 0 $Debug and defined $count
439 0 0 0 ref $renew and ref $renew eq "HASH"
457 0 0 0 defined $expiry and $expiry =~ /^2\d\d\d-\d\d-\d\d$/
460 0 0 0 $dominfo->{'exDate'} and $dominfo->{'exDate'} =~ /^2\d\d\d-\d\d-\d\d/
574 0 0 0 $Net::EPP::Registry::Nominet::Code > 999 and $Net::EPP::Registry::Nominet::Code < 1002
639 0 0 0 $contyes and $contyes == 1
769 0 0 0 do { not $self->valid_voice($contact->{'voice'}) } && do { $Net::EPP::Registry::Nominet::Error = "Bad phone number $contact->{'voice'} should be +NNN.NNNNNNNNNN"; return undef }
939 0 0 0 $action ne "chg" and $data->{$action}{'ns'}
1125 0 0 0 defined $data->{'voice'} and not $self->valid_voice($data->{'voice'})
1138 0 0 0 $#flags > 0 and $flags[0] != $flags[1]
1601 0 0 0 $Debug > 1 and defined $greeting

or 2 conditions

line l !l condition
169 1 0 $params{'timeout'} || 0
200 0 1 $self->{'reconnect'} ||= 3
458 0 0 $expiry || ''
767 0 0 $contact->{'authInfo'} ||= 12345
1467 0 0 $hash->{$key} || ''
1491 0 0 shift() || 'expiry'
1744 0 0 $len ||= 16

or 3 conditions

line l !l&&r !l&&!r condition
171 0 0 0 $params{'SSL_ca_file'} ||= $params{'ca_file'}
172 0 0 0 $params{'SSL_ca_path'} ||= $params{'ca_path'}
379 0 0 0 $type eq "domain" or $type eq "contact"
0 0 0 $type eq "domain" or $type eq "contact" or $type eq "host"
472 0 0 0 $years ||= $self->{'def_years'}
656 0 0 0 $years ||= $self->{'def_years'}
766 0 0 0 $contact->{'id'} ||= $self->random_id
1641 0 0 0 $type eq "domain-ext" or $type eq "domain-nom-ext"
1657 0 0 0 $type eq "contact-ext" or $type eq "contact-nom-ext"
1662 0 0 0 $type eq "contact-ext" or $type eq "contact-id"
1748 0 0 0 $num == 38 or $num == 60
1841 0 0 0 $Net::EPP::Registry::Nominet::Code < 1000 or $Net::EPP::Registry::Nominet::Code > 1999