Branch Coverage

blib/lib/Net/DRI/Protocol/ResultStatus.pm
Criterion Covered Total %
branch 31 96 32.2


line true false branch
252 14 4 defined $is_success && $is_success ? :
264 0 18 defined $info && ref $info eq 'ARRAY' ? :
272 10 0 unless exists $self->{'trid'} and ref $self->{'trid'} eq 'ARRAY'
273 0 0 wantarray ? :
280 0 0 if defined $new->{'next'}
293 0 0 if (not defined $k1 or (defined $k3 xor defined $k2))
297 0 0 if (defined $k2 and defined $k3)
300 0 0 unless (exists $d->{$k1})
301 0 0 unless (exists $d->{$k1}{$k2})
302 0 0 unless (exists $d->{$k1}{$k2}{$k3})
307 0 0 if $_ ne 'session'
308 0 0 if (@k != 1)
310 0 0 if (keys %$d != 1)
312 0 0 unless (exists $d->{$k1})
319 0 0 unless wantarray
329 0 0 unless (defined $k1)
331 0 0 unless (exists $d->{$k1})
332 0 0 unless (defined $k2)
334 0 0 unless (exists $d->{$k1}{$k2})
344 1 9 unless $is
356 0 0 if @li
368 0 0 if defined $lr
376 0 0 if (wantarray) { }
388 0 0 defined $k1 ? :
0 0 defined $k2 ? :
392 0 0 if defined $lr
403 11 4 if $deep == 2
430 1 17 unless defined $type and $type and defined $code
431 3 14 if not defined $eppcode and $type eq 'epp'
432 1 1 $is_success ? :
2 15 unless defined $eppcode
433 15 0 if $eppcode =~ /^\d{4}$/
434 0 0 exists $EPP_CODES{$eppcode} ? :
438 0 2 @p && defined $p[0] && $p[0] =~ /^[A-Z_]+$/ && exists $EPP_CODES{$p[0]} ? :
444 2 0 $self->local_is_success ? :
2 0 $self->code eq $self->native_code ? :
2 0 length $self->message ? :
445 1 1 if (defined $withinfo and $withinfo)
448 0 0 defined $rh->{$_} ? :
0 1 if @i
461 2 0 @r == 1 ? :
0 2 wantarray ? :
464 0 0 defined $e && $e ? :
473 0 40 unless defined $symcode and length $symcode
474 0 40 unless exists $EPP_CODES{$symcode}
475 40 0 ref $self ? :
476 0 40 unless defined $code and $code =~ /^\d+$/
477 0 40 $code == $EPP_CODES{$symcode} ? :