Condition Coverage

blib/lib/IO/EPP/Base.pm
Criterion Covered Total %
condition 98 190 51.5


and 2 conditions

line l !l condition
844 0 1 $params->{'contacts'} and scalar @{$params->{'contacts'};}
1409 0 2 $params->{'nss'} and scalar @{$params->{'nss'};}
1814 0 3 $params->{'domains'} and scalar @{$params->{'domains'};}
1934 6 15 $params->{'nss'} and scalar @{$params->{'nss'};}
2351 12 9 $params->{'add'}{'nss'} and ref $params->{'add'}{'nss'} and scalar @{$params->{'add'}{'nss'};}
2413 4 6 $params->{'rem'}{'nss'} and ref $params->{'rem'}{'nss'} and scalar @{$params->{'rem'}{'nss'};}

and 3 conditions

line !l l&&!r l&&r condition
128 0 40 52 not $params->{'tld'} and $params->{'dname'}
136 0 0 46 $code and $code == 1000
160 3 0 89 $answ and ref $answ
201 0 0 8 $pw =~ /\d/ and $pw =~ /[A-Z]/
0 0 8 $pw =~ /\d/ and $pw =~ /[A-Z]/ and $pw =~ /[a-z]/
0 0 8 $pw =~ /\d/ and $pw =~ /[A-Z]/ and $pw =~ /[a-z]/ and $pw =~ /[!\@\$\%\*_\.:-=\+\?#,"']/
220 0 0 0 $root and ref $root eq ''
384 0 0 77 $c and $c == 1000
662 0 0 211 $content and $content =~ //
689 211 0 0 $check_queue_msgs and $content =~ //
799 0 0 4 $content and $content =~ /greeting/
903 1 7 5 $params->{'int'} and $params->{'loc'}
926 0 16 0 $params->{$type}{'last_name'} and $params->{$type}{'family_name'}
1482 9 0 8 $params->{'ips'} and ref $params->{'ips'} eq 'ARRAY'
1637 4 0 7 $params->{'add'}{'ips'} and ref $params->{'add'}{'ips'}
1663 2 0 3 defined $params->{'rem'}{'ips'} and ref $params->{'rem'}{'ips'}
2130 0 0 14 $answ and $answ =~ //
2228 0 0 11 $params->{'dname'} and $params->{'period'}
0 0 11 $params->{'dname'} and $params->{'period'} and $params->{'exp_date'}
2291 29 10 0 $params->{'rem'} and $params->{'rem'}{'dnssec'}
2306 18 21 0 $params->{'add'} and $params->{'add'}{'dnssec'}
2351 12 0 9 $params->{'add'}{'nss'} and ref $params->{'add'}{'nss'}
2413 4 0 6 $params->{'rem'}{'nss'} and ref $params->{'rem'}{'nss'}
2482 0 0 7 $params->{'op'} and $params->{'op'} =~ /query|request|cancel|approve|reject|usertransfer/
2751 0 0 1 $answ and $answ =~ //
2767 0 0 0 $q and $q =~ m[(.+).*(.+?)]s
0 0 0 $q and $q =~ m[(.+)]s
2790 0 0 0 not $rdata and $err
2835 0 0 0 $answ and $answ =~ //

or 2 conditions

line l !l condition
337 33 44 $params->{'tld'} || ''
28 49 delete $params->{'server'} || ''
77 0 delete $params->{'no_log'} || 0
388 0 0 $m || ''
389 0 0 $c || 0
535 330 77 $info ||= ''
577 0 0 unpack('N', $hdr) // 0
744 77 0 $svcs ||= ''
745 77 0 $ext ||= ''
854 0 1 $params->{'extension'} || ''
1015 0 13 $params->{'pp_ext'} ||= ''
1055 0 11 $params->{'extension'} || ''
1185 0 4 $params->{'extension'} || ''
1335 0 2 $params->{'extension'} || ''
1374 0 2 $params->{'extension'} || ''
1417 1 1 $params->{'extension'} || ''
1493 9 8 $params->{'extension'} || ''
1576 4 2 $params->{'extension'} || ''
1701 13 3 $params->{'extension'} || ''
1741 3 2 $params->{'extension'} || ''
1822 1 2 $params->{'extension'} || ''
1841 3 0 $self->req($body, 'check_domains') // ''
1855 3 0 $1 // ''
1962 9 12 $params->{'extension'} || ''
2042 10 0 $info->{'nss'} or not $rdata =~ // or scalar @{$info->{'nss'};}
2109 10 4 $params->{'extension'} || ''
2156 10 0 $1 // ''
2230 6 5 $params->{'extension'} || ''
2443 19 20 $params->{'extension'} || ''
2497 0 7 $params->{'addition'} // ''
2499 0 7 $params->{'extension'} || ''
2589 6 4 $params->{'extension'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
350 0 0 77 not $hello or $self->{'critical_error'}
670 0 90 121 $code == 1001 or $code >= 2000
949 16 0 0 $params->{$type}{'last_name'} or $params->{$type}{'family_name'}
951 16 0 0 $params->{$type}{'last_name'} || $params->{$type}{'family_name'}
1264 0 12 2 not $sts{$st} or $sts{$st} eq '+'
2036 10 0 0 $info->{'nss'} or not $rdata =~ //
2042 10 0 0 $info->{'nss'} or not $rdata =~ //
2320 0 0 39 $rem_ds or $add_ds
2869 77 0 0 $self->{'test'} or $self->{'sock'}->opened