Branch Coverage

blib/lib/Archive/Tar/Stream.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
128 0 0 if (@_)
179 0 0 $size ? :
258 0 0 if ($Chooser) { }
265 0 0 if ($rc eq "EDIT")
274 0 0 if $rc eq "EXIT"
277 0 0 if $newheader
279 0 0 if ($rc eq 'KEEP') { }
0 0 elsif ($rc eq 'SKIP') { }
280 0 0 if $VERBOSE
281 0 0 if ($TempFile) { }
0 0 elsif ($Self->{'safe_copy'} and $header->{'size'}) { }
296 0 0 if ($TempFile) { }
297 0 0 if $VERBOSE
301 0 0 if $VERBOSE
311 0 0 if $VERBOSE
342 0 0 unless ($Self->{'infh'})
351 0 0 unless ($n)
353 0 0 unless $pos
385 0 0 unless ($Self->{'outfh'})
391 0 0 if (length $buf < $bytes)
398 0 0 unless ($n)
434 0 0 unless $block
436 0 0 if $header
437 0 0 unless $Opts{'SkipInvalid'}
441 0 0 unless $header
443 0 0 if ($skipped)
494 0 0 unless 512 == length $block
497 0 0 if substr($block, 0, 1) eq "\0"
501 0 0 unless 15 == @items
510 0 0 unless (unpack("%16C*", $block) == $chksum)
567 0 0 if (exists $hash{$key}) { }
612 0 0 if (length $block < 512) { }
0 0 elsif (length $block > 512) { }
637 0 0 if $n > 16
701 0 0 unless defined $dump
702 0 0 if length $dump > $bytes
731 0 0 if ($chunk)
733 0 0 unless ($n)
740 0 0 if ($pos == $tocopy)
748 0 0 if ($nblocks)
804 0 0 if ($toread)
807 0 0 unless defined $dump