Branch Coverage

blib/lib/Net/EPP/Server.pm
Criterion Covered Total %
branch 0 94 0.0


line true false branch
99 0 0 if ($self->{'epp'}{'client_ca_file'})
135 0 0 if 1500 == $code or $code >= 2500
145 0 0 4 == length $socket->peeraddr ? :
152 0 0 if ($socket->peer_certificate)
188 0 0 unless $xml
198 0 0 if ('greeting' eq $response->documentElement->firstChild->localName) { }
213 0 0 unless exists $self->{'epp'}{'log_dir'}
245 0 0 $@ ? :
261 0 0 unless ($frame->isa("XML::LibXML::Document"))
271 0 0 if (1000 != $code)
286 0 0 if ("hello" eq $fcname)
291 0 0 if $clTRID
295 0 0 if ('command' eq $fcname) { }
0 0 elsif ('extension' eq $fcname) { }
303 0 0 unless ($command)
312 0 0 if (not defined $session->{'clid'} and "login" ne $command)
321 0 0 if ("login" eq $command)
322 0 0 if (defined $session->{'clid'})
334 0 0 if (&none(sub {
345 0 0 if (&none(sub {
356 0 0 if ("logout" eq $command)
375 0 0 if ("login" eq $command and $response->getElementsByTagName("result")->item(0)->getAttribute("code") < 2000)
410 0 0 unless (defined $self->{'epp'}{'handlers'}{$command})
419 0 0 if ("login" ne $command)
423 0 0 if (&any(sub {
426 0 0 if (&none(sub {
440 0 0 if ($extn)
442 0 0 if (&none(sub {
463 0 0 unless ($frame)
479 0 0 unless $data->{'lang'}
487 0 0 if (scalar @{$data->{'extensions'};} > 0)
527 0 0 if ($@)
540 0 0 if (0 == scalar @result)
553 0 0 if (1 == scalar @result)
556 0 0 if ($result->isa("XML::LibXML::Document"))
560 0 0 if (is_result_code($result))
577 0 0 unless (is_result_code($result[0]))
589 0 0 unless (ref $result[0])
615 0 0 if ($el->isa("XML::LibXML::Element"))
657 0 0 if ($args{'resData'})
661 0 0 if ($clTRID or $svTRID)
663 0 0 if $clTRID
664 0 0 if $svTRID
704 0 0 if ($self->{'epp'}{'xsd_file'})
709 0 0 if $@
727 0 0 if $ref
749 0 0 if (1000 != $code)