Branch Coverage

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


line true false branch
56 0 0 unless ($response->is_success)
64 0 0 unless /^(sessionid|nonce)="(.*?)"$/
68 0 0 unless $decode
70 0 0 ref $decode ? :
72 0 0 if (not $content =~ /[^\x00-\xff]/ and $content =~ /[\x80-\xff]/)
80 0 0 if ($xml and ref $xml eq 'HASH') { }
91 0 0 if defined $self->{'uid'}
122 0 0 unless $xml
123 0 0 unless exists $xml->{'User'}
135 0 0 if defined $self->{'uid'}
198 0 0 unless $xml
199 0 0 unless exists $xml->{'User'}
283 0 0 unless $xml
285 0 0 unless ref $xml
286 0 0 if (ref $xml eq 'ARRAY') { }
295 0 0 if defined $v and ref $v eq "HASH"
305 0 0 unless $self->{'uid'}
313 0 0 unless $self->{'uid'}
320 0 0 unless $self->{'uid'}
334 0 0 unless $self->{'uid'}
346 0 0 unless $self->{'uid'}
360 0 0 if $fmt eq "plain"
367 0 0 if ($fmt =~ /^(pdf)$/) { }
0 0 elsif ($fmt =~ /^(gif|jpg|jpeg|tiff|png|webp)$/) { }
0 0 elsif ($fmt =~ /^(txt|text|html|plain)$/) { }
372 0 0 if $fmt =~ /^(txt|text)$/
382 0 0 if (ref $entry eq 'HASH') { }
0 0 elsif (ref $entry eq 'ARRAY') { }
396 0 0 utf8::is_utf8($text) || $text =~ /[\x80-\xff]/ ? :
405 0 0 if ref $sender eq "HASH"
410 0 0 if ($received =~ /^(\d{4})-(\d{2})-(\d{2})T(\d\d):(\d\d):(\d\d)/) { }
437 0 0 if exists $opt{'body'}
456 0 0 unless $fn =~ /[^\x00-\x80]/
475 0 0 unless $request
482 0 0 unless ref $response
495 0 0 unless defined $xml
508 0 0 unless defined $body
511 0 0 unless my $att_id = shift @attachments
515 0 0 unless defined $att_body
518 0 0 unless $att_id = shift @attachments
538 0 0 unless $xml
542 0 0 if keys %$xml < $limit