Branch Coverage

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


line true false branch
52 0 0 unless ($response->is_success)
60 0 0 unless /^(sessionid|nonce)="(.*?)"$/
64 0 0 unless $decode
66 0 0 ref $decode ? :
68 0 0 if (not $content =~ /[^\x00-\xff]/ and $content =~ /[\x80-\xff]/)
76 0 0 if ($xml and ref $xml eq 'HASH') { }
87 0 0 if defined $self->{'uid'}
114 0 0 unless $xml
115 0 0 unless exists $xml->{'User'}
149 0 0 unless $xml
151 0 0 unless ref $xml
152 0 0 if (ref $xml eq 'ARRAY') { }
161 0 0 if defined $v and ref $v eq 'HASH'
171 0 0 unless $self->{'uid'}
178 0 0 unless $self->{'uid'}
191 0 0 unless $self->{'uid'}
214 0 0 if $fmt eq 'plain'
221 0 0 if ($fmt =~ /^(pdf)$/) { }
0 0 elsif ($fmt =~ /^(gif|jpg|jpeg|tiff|png|webp)$/) { }
0 0 elsif ($fmt =~ /^(txt|text|html|plain)$/) { }
226 0 0 if $fmt =~ /^(txt|text)$/
236 0 0 if (ref $entry eq 'HASH') { }
0 0 elsif (ref $entry eq 'ARRAY') { }
252 0 0 if ref $sender eq 'HASH'
257 0 0 if ($received =~ /^(\d{4})-(\d{2})-(\d{2})T(\d\d):(\d\d):(\d\d)/) { }
283 0 0 if exists $opt{'body'}
301 0 0 unless $fn =~ /[^\x00-\x80]/
321 0 0 unless $request
328 0 0 unless ref $response
341 0 0 unless defined $xml
353 0 0 unless defined $body
356 0 0 unless my $att_id = shift @attachments
360 0 0 unless defined $att_body
363 0 0 unless $att_id = shift @attachments
382 0 0 unless $xml
385 0 0 if keys %$xml < $limit