Condition Coverage

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


and 2 conditions

line l !l condition
94 0 0 scalar $self->name and scalar $self->city
0 0 scalar $self->name and scalar $self->city and scalar $self->cc

and 3 conditions

line !l l&&!r l&&r condition
94 0 0 0 scalar $self->name and scalar $self->city and scalar $self->cc and $self->srid
104 0 0 0 $self->roid and not $self->roid =~ /^\w{1,80}-\w{1,8}$/
108 0 0 0 $self->name and grep {not Net::DRI::Util::xml_is_normalizedstring($_, 1, 255);} $self->name
111 0 0 0 $self->org and grep {not Net::DRI::Util::xml_is_normalizedstring($_, undef, 255);} $self->org
125 0 0 0 $self->city and grep {not Net::DRI::Util::xml_is_normalizedstring($_, 1, 255);} $self->city
128 0 0 0 $self->pc and grep {not Net::DRI::Util::xml_is_normalizedstring($_, undef, 16);} $self->pc
131 0 0 0 $self->cc and grep {not Net::DRI::Util::xml_is_normalizedstring($_, 2, 2);} $self->cc
134 0 0 0 $self->cc and grep {not exists $Net::DRI::Util::CCA2{uc $_};} $self->cc
136 0 0 0 $self->voice and not Net::DRI::Util::xml_is_token($self->voice, undef, 17)
0 0 0 $self->voice and not Net::DRI::Util::xml_is_token($self->voice, undef, 17) and not $self->voice =~ /^\+[0-9]{1,3}\.[0-9]{1,14}(?:x\d+)?$/
139 0 0 0 $self->fax and not Net::DRI::Util::xml_is_token($self->fax, undef, 17)
0 0 0 $self->fax and not Net::DRI::Util::xml_is_token($self->fax, undef, 17) and not $self->fax =~ /^\+[0-9]{1,3}\.[0-9]{1,14}(?:x\d+)?$/
142 0 0 0 $self->email and not Net::DRI::Util::xml_is_token($self->email, 1, undef)
0 0 0 $self->email and not Net::DRI::Util::xml_is_token($self->email, 1, undef) and not 'Email::Valid'->rfc822($self->email)

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
121 0 0 0 ref $rs[$i] ne 'ARRAY' or @{$rs[$i];} > 3
0 0 0 ref $rs[$i] ne 'ARRAY' or @{$rs[$i];} > 3 or grep {not Net::DRI::Util::xml_is_normalizedstring($_, undef, 255);} @{$rs[$i];}