Branch Coverage

blib/lib/Convert/yEnc/Decoder.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
36 4 8 if $$decoder{'temp'}{'begin'}{'part'}
45 12 0 defined $in ? :
2 12 ref $in ? :
48 2 12 unless $IN
61 12 116 if $begin =~ /^=ybegin/
64 0 12 unless $begin
89 0 12 unless my $OUT = 'IO::File'->new($file, $mode)
92 0 12 unless binmode $OUT
107 0 4 unless $part =~ /^=ypart/
121 0 4 unless seek $OUT, $offset, 0
139 12 352 if $line =~ /^=yend/
144 0 352 unless print $OUT $line
164 0 12 unless $end =~ /^=yend/
177 4 8 defined $partSize ? :
179 0 12 unless $decodeSize == $endSize
183 8 4 unless (defined $partSize)
187 0 8 unless $beginSize == $fileSize