blib/lib/PDF/Builder/Basic/PDF/Filter/RunLengthDecode.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 20 | 70.0 |
line | true | false | branch |
---|---|---|---|
30 | 6 | 0 | if ($input =~ /^(.*?)((.)\3{1,127})(.*)$/so) { } |
46 | 4 | 2 | if length $unrepeated > 0 |
51 | 6 | 0 | if (length $repeated) |
57 | 1 | 1 | if $include_eod |
69 | 0 | 2 | if (exists $self->{'incache'}) |
79 | 1 | 10 | if ($length == 128) |
84 | 0 | 10 | if (length $input == 1 and not $is_terminated) |
90 | 6 | 4 | if ($length > 128) { } |
91 | 0 | 6 | if (length $input == 1) |
104 | 0 | 4 | if (length $input < $length + 2) |