Condition Coverage

blib/lib/Net/DRI/Data/Contact/CIRA.pm
Criterion Covered Total %
condition 0 53 0.0


and 3 conditions

line !l l&&!r l&&r condition
39 0 0 0 defined $r && length $r
44 0 0 0 defined $self->sp and defined $self->cc
0 0 0 defined $self->sp and defined $self->cc and $self->cc eq 'CA'
0 0 0 defined $self->sp and defined $self->cc and $self->cc eq 'CA' and not $self->sp =~ /^(?:AB|BC|MB|NB|NL|NT|NS|NU|ON|PE|QC|SK|YT)$/
46 0 0 0 defined $self->legal_form and not $self->legal_form =~ /^(?:CCO|CCT|RES|GOV|EDU|ASS|HOP|PRT|TDM|TRD|PLT|LAM|TRS|ABO|INB|LGR|OMK|MAJ)$/
47 0 0 0 defined $self->lang and not $self->lang =~ /^(?:fr|en)$/o
48 0 0 0 defined $self->ip_address and not Net::DRI::Util::is_ipv4($self->ip_address, 1)
0 0 0 defined $self->ip_address and not Net::DRI::Util::is_ipv4($self->ip_address, 1) and not Net::DRI::Util::is_ipv6($self->ip_address, 1)
54 0 0 0 defined $self->reseller_id and length $self->reseller_id > 255
55 0 0 0 defined $self->whois_display and not $self->whois_display =~ /^(?:FULL|PRIVATE)$/o
67 0 0 0 $a and ref $a eq 'HASH'
0 0 0 $a and ref $a eq 'HASH' and exists $a->{'pw'}

or 2 conditions

line l !l condition
32 0 0 $change ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 0 ref $ra ne 'HASH' or 2 != keys %$ra
0 0 0 ref $ra ne 'HASH' or 2 != keys %$ra or not exists $ra->{'version'}
0 0 0 ref $ra ne 'HASH' or 2 != keys %$ra or not exists $ra->{'version'} or not exists $ra->{'signed'}
0 0 0 ref $ra ne 'HASH' or 2 != keys %$ra or not exists $ra->{'version'} or not exists $ra->{'signed'} or length $ra->{'version'} > 4
0 0 0 ref $ra ne 'HASH' or 2 != keys %$ra or not exists $ra->{'version'} or not exists $ra->{'signed'} or length $ra->{'version'} > 4 or not $ra->{'signed'} =~ /^(?:0|1)$/