Branch Coverage

blib/lib/PDF/API2/Basic/PDF/Filter/ASCII85Decode.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
14 0 3 if (exists $self->{'outcache'} and $self->{'outcache'} ne "")
20 0 32 if ($b == 0)
28 0 32 if $i % 60 == 56
30 1 2 if ($isend and $i < length $str) { }
2 0 elsif ($isend) { }
0 0 elsif ($i + 4 > length $str) { }
53 0 2 if (exists $self->{'incache'} and $self->{'incache'} ne "")
59 1 22 if $isend and substr($str, $i, 6) eq "~>"
61 0 22 if (substr($str, $i, 1) eq 'z') { }
1 21 elsif ($isend and substr($str, $i, 6) =~ /^(.{2,4})\~\>$/o) { }
81 0 2 if (not $isend and $i > length $str)