Branch Coverage

blib/lib/POE/Filter/HTTPChunk.pm
Criterion Covered Total %
branch 30 30 100.0


line true false branch
87 63 105 unless ($$self[1] & 2)
88 22 41 unless ($chunk =~ /.\015?\012/s)
90 18 4 if (@{$$self[0];} == 0) { }
102 43 107 if ($$self[1] & 1)
104 39 4 if ($chunk =~ s/^($HEX+)[^\S\015\012]*(?:;.*?)?[^\S\015\012]*\015?\012//s) { }
110 12 27 if ($length == 0) { }
129 3 1 if $replaceN == 1
134 132 14 if ($$self[1] & 2)
142 105 27 if (length $newchunk != $$self[2])
149 26 1 if (length $chunk > 0)
160 14 27 if ($$self[1] & 4)
170 2 12 if ($chunk =~ s/^\015?\012//s)
175 1 1 if length $chunk
178 2 10 if (@{$$self[0];}) { }
201 4 1 if @{$$self[0];}