Branch Coverage

blib/lib/Smaz.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
279 47 35 length $verbatim > 1 ? :
287 61 332 length($input) - $input_index < 7 ? :
288 0 2291 $j <= 0 ? :
0 2684 $j <= 0 ? :
290 189 2291 if (defined $code)
291 80 109 if ($verbatim)
300 204 189 unless ($encoded)
302 0 204 if (length $verbatim == 256)
308 2 15 if $verbatim
316 35 236 if ($input[$i] == 254) { }
47 189 elsif ($input[$i] == 255) { }
317 0 35 if $i + 1 > scalar @input
321 0 47 if $i + $input[$i + 1] + 2 >= scalar @input