Branch Coverage

File:blib/lib/App/FileSync/Delta.pm
Coverage:68.2%

line%coveragebranch
133100TFdefined $size && $size > $BLOCK * $MAX_BLOCKS ? :
137100TFdefined $per_block ? :
19150TFunless defined $path and length $path and -f $path
19350TFunless $size >= $MIN_SIZE
195100TFunless defined $block and $block > 0
26350TFunless $signature->{'blocks'}
26950TFunless defined $count
27050TFunless $count =~ /\A\d+\z/
27250TFdefined $bytes ? :
273100TFunless $length == $count * $RECORD_BYTES
35950TFunless $out
36050TFunless my $block = $signature->{'blocklen'}
44050TFunless print {$out;} $COPY . pack("NN", $offset, $length)
44750TFif (defined $bytes and length $bytes)
44850TFunless print {$out;} $LIT . pack("N", length $bytes) . $bytes
502100TFunless length $type
50350TFunless $type eq $COPY or $type eq $LIT
505100TFif $type eq $COPY
50850TF$length ? :
565100TF$type eq 'copy' ? :
56650TFunless print {$out;} $bytes
625100TFunless length $chunk