Condition Coverage

blib/lib/Net/DRI/Protocol/ResultStatus.pm
Criterion Covered Total %
condition 21 50 42.0


and 3 conditions

line !l l&&!r l&&r condition
252 1 3 14 defined $is_success && $is_success
264 18 0 0 defined $info && ref $info eq 'ARRAY'
272 10 0 0 exists $self->{'trid'} and ref $self->{'trid'} eq 'ARRAY'
297 0 0 0 defined $k2 and defined $k3
430 0 0 18 defined $type and $type
0 1 17 defined $type and $type and defined $code
431 12 2 3 not defined $eppcode and $type eq 'epp'
438 2 0 0 @p && defined $p[0] && $p[0] =~ /^[A-Z_]+$/ && exists $EPP_CODES{$p[0]}
445 0 1 1 defined $withinfo and $withinfo
464 0 0 0 defined $e && $e
473 0 0 40 defined $symcode and length $symcode
476 0 0 40 defined $code and $code =~ /^\d+$/

or 2 conditions

line l !l condition
252 14 4 $message || ''
11 7 $lang || '?'

or 3 conditions

line l !l&&r !l&&!r condition
293 0 0 0 not defined $k1 or (defined $k3 xor defined $k2)
468 0 0 10 $self->is('COMMAND_SUCCESSFUL_END') || $self->is('COMMAND_FAILED_CLOSING') || $self->is('AUTHENTICATION_ERROR_CLOSING') || $self->is('SESSION_LIMIT_EXCEEDED_CLOSING')

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
293 0 0 0 0 defined $k3 xor defined $k2