Branch Coverage

blib/lib/Smaz.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
279 70 39 length $verbatim > 1 ? :
287 67 1278 length($input) - $input_index < 7 ? :
288 0 8904 $j <= 0 ? :
0 10249 $j <= 0 ? :
290 215 8904 if (defined $code)
291 103 112 if ($verbatim)
300 1130 215 unless ($encoded)
302 2 1128 if (length $verbatim == 256)
308 4 15 if $verbatim
316 39 285 if ($input[$i] == 254) { }
70 215 elsif ($input[$i] == 255) { }
317 0 39 if $i + 1 > scalar @input
321 0 70 if $i + $input[$i + 1] + 2 >= scalar @input