Branch Coverage

blib/lib/Net/Eboks.pm
Criterion Covered Total %
branch 0 80 0.0


line true false branch
50 0 0 unless ($response->is_success)
58 0 0 unless /^(sessionid|nonce)="(.*?)"$/
62 0 0 unless $decode
64 0 0 ref $decode ? :
66 0 0 if (not $content =~ /[^\x00-\xff]/ and $content =~ /[\x80-\xff]/)
74 0 0 if ($xml and ref $xml eq 'HASH') { }
85 0 0 if defined $self->{'uid'}
116 0 0 unless $xml
117 0 0 unless exists $xml->{'User'}
129 0 0 if defined $self->{'uid'}
192 0 0 unless $xml
193 0 0 unless exists $xml->{'User'}
272 0 0 unless $xml
274 0 0 unless ref $xml
275 0 0 if (ref $xml eq 'ARRAY') { }
284 0 0 if defined $v and ref $v eq 'HASH'
294 0 0 unless $self->{'uid'}
301 0 0 unless $self->{'uid'}
314 0 0 unless $self->{'uid'}
337 0 0 if $fmt eq 'plain'
344 0 0 if ($fmt =~ /^(pdf)$/) { }
0 0 elsif ($fmt =~ /^(gif|jpg|jpeg|tiff|png|webp)$/) { }
0 0 elsif ($fmt =~ /^(txt|text|html|plain)$/) { }
349 0 0 if $fmt =~ /^(txt|text)$/
359 0 0 if (ref $entry eq 'HASH') { }
0 0 elsif (ref $entry eq 'ARRAY') { }
373 0 0 utf8::is_utf8($text) || $text =~ /[\x80-\xff]/ ? :
382 0 0 if ref $sender eq 'HASH'
387 0 0 if ($received =~ /^(\d{4})-(\d{2})-(\d{2})T(\d\d):(\d\d):(\d\d)/) { }
413 0 0 if exists $opt{'body'}
432 0 0 unless $fn =~ /[^\x00-\x80]/
451 0 0 unless $request
458 0 0 unless ref $response
471 0 0 unless defined $xml
483 0 0 unless defined $body
486 0 0 unless my $att_id = shift @attachments
490 0 0 unless defined $att_body
493 0 0 unless $att_id = shift @attachments
512 0 0 unless $xml
516 0 0 if keys %$xml < $limit