Branch Coverage

blib/lib/PDF/API2/Basic/PDF/Filter/RunLengthDecode.pm
Criterion Covered Total %
branch 14 20 70.0


line true false branch
22 6 0 if ($input =~ /^(.*?)((.)\3{1,127})(.*)$/so) { }
39 4 2 if length $unrepeated > 0
44 6 0 if (length $repeated)
50 1 1 if $include_eod
61 0 2 if (exists $self->{'incache'})
71 1 10 if ($length == 128)
76 0 10 if (length $input == 1 and not $is_terminated)
82 6 4 if ($length > 128) { }
83 0 6 if (length $input == 1)
96 0 4 if (length $input < $length + 2)