Condition Coverage

blib/lib/Net/DRI/Shell.pm
Criterion Covered Total %
condition 0 166 0.0


and 3 conditions

line !l l&&!r l&&r condition
505 0 0 0 exists $$ctx{'term_features'}{'readHistory'} and defined $HISTORY
511 0 0 0 @args and $args[0] eq 'Net::DRI::Shell'
523 0 0 0 exists $$ctx{'term_features'}{'writeHistory'} and defined $HISTORY
545 0 0 0 @args == 1 and $args[0] eq '.' || $args[0] eq "\n"
590 0 0 0 defined $rc and $l =~ /^(?:(?:domain|contact|host)_?(?:check|info|create)|domain_renew) / && (!defined($msg) || index($msg, 'on average') == -1) && $rc->is_success || $$ctx{'config'}{'verbose'} == 1
607 0 0 0 defined $rc and $rc->is_closing
0 0 0 defined $rc and $rc->is_closing and $$ctx{'dri'}->transport->has_state
713 0 0 0 $$ctx{'dri'}->registry_name and $$ctx{'dri'}->available_profile
0 0 0 $$ctx{'dri'}->registry_name and $$ctx{'dri'}->available_profile and $$ctx{'dri'}->protocol
786 0 0 0 defined $$ctx{'dri'}->registry_name and defined $$ctx{'dri'}->profile
796 0 0 0 defined $$ctx{'dri'}->registry_name and defined $$ctx{'dri'}->profile
832 0 0 0 defined $capa and exists $$capa{$what}
902 0 0 0 defined $r[0] and $r[0]->is_success
930 0 0 0 $cmd eq 'contact_create' and defined $r[0]
0 0 0 $cmd eq 'contact_create' and defined $r[0] and $r[0]->is_success
1049 0 0 0 defined $n and $n
1072 0 0 0 Net::DRI::Util::has_key($rh, 'registry') and Net::DRI::Util::has_key($rh, 'type')
1075 0 0 0 defined $r[0] and $r[0]->is_success
1076 0 0 0 exists $$rh{'name'} and defined $$rh{'name'}
1109 0 0 0 Net::DRI::Util::has_key($rh, 'name') and Net::DRI::Util::has_key($rh, 'type')
1115 0 0 0 $rc->is_success and $cmd eq 'add_current_profile'
1296 0 0 0 $$ctx{'dri'}->protocol and $$ctx{'dri'}->protocol->can('core_contact_types')
1372 0 0 0 exists $$rh{'street'} and not ref $$rh{'street'}
1373 0 0 0 exists $$rh{'id'} and not exists $$rh{'srid'}
1374 0 0 0 @$ra and not $$ra[0] =~ /=/
0 0 0 @$ra and not $$ra[0] =~ /=/ and not exists $$rh{'srid'}
1413 0 0 0 defined $dom and length $dom
1424 0 0 0 -e $dom and -r _
1430 0 0 0 defined $fin and defined $fout
1553 0 0 0 exists $$rd{'auth'} and not ref $$rd{'auth'}
1563 0 0 0 defined $v and defined $u
1580 0 0 0 $$ctx{'dri'}->protocol and $$ctx{'dri'}->protocol->can('core_contact_types')
1651 0 0 0 $k1 eq 'session' and $k2 eq 'exchange'
0 0 0 $k1 eq 'session' and $k2 eq 'exchange' and $$ctx{'config'}{'verbose'} == 0

or 2 conditions

line l !l condition
486 0 0 $term->OUT || \*STDOUT
642 0 0 $reg ||= ''
648 0 0 $type ||= ''
679 0 0 $p ||= ''
707 0 0 $$ctx{'completion'}{'domains'}{$b} || 0
0 0 $$ctx{'completion'}{'domains'}{$a} || 0
725 0 0 $ns ||= ''
730 0 0 $c ||= ''
743 0 0 $ns ||= ''
748 0 0 $c ||= ''
755 0 0 $s ||= ''
809 0 0 $ns ||= ''
816 0 0 $s ||= ''
1613 0 0 $full ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
545 0 0 0 $args[0] eq '.' || $args[0] eq "\n"
561 0 0 0 $l =~ /^\s*$/ or $l =~ /^#/
583 0 0 0 $l eq 'quit' or $l eq 'q'
0 0 0 $l eq 'quit' or $l eq 'q' or $l eq 'exit'
590 0 0 0 $l =~ /^(?:(?:domain|contact|host)_?(?:check|info|create)|domain_renew) / && (!defined($msg) || index($msg, 'on average') == -1) && $rc->is_success || $$ctx{'config'}{'verbose'} == 1
635 0 0 0 $cmd eq 'run' or $cmd eq 'record'
637 0 0 0 $cmd eq 'add' or $cmd eq 'add_registry'
0 0 0 $cmd eq 'add' or $cmd eq 'add_registry' or $cmd eq 'add_current_profile'
0 0 0 $cmd eq 'add' or $cmd eq 'add_registry' or $cmd eq 'add_current_profile' or $cmd eq 'add_profile'
891 0 0 0 $cmd =~ /^message_(?:retrieve|delete)$/ or $cmd eq 'ping'
1130 0 0 0 $$ra[0] eq 'periods' or $$ra[0] eq 'durations'
1437 0 0 0 $cmd eq 'domain_check' || $cmd eq 'domain_info'