Branch Coverage

blib/lib/SWF/ForcibleConverter.pm
Criterion Covered Total %
branch 10 86 11.6


line true false branch
27 0 1 unless 'IO::Uncompress::Inflate'->new(@_)
33 0 1 unless 'IO::Compress::Deflate'->new(@_)
46 3 3 if exists $$args{'buffer_size'}
63 5 5 @_ ? :
69 5 3 if not $size or $size < 4096
75 2 2 unless (shift())->buffer_size
85 0 0 unless ($$self{'_r_io'})
87 0 0 if (defined $file) { }
88 0 0 if (ref $file) { }
92 0 0 unless $io->open($file, 'r')
96 0 0 unless $io->fdopen(fileno STDIN, 'r')
112 0 0 unless ($$self{'_w_io'})
114 0 0 if (defined $file) { }
116 0 0 unless $io->open($file, 'w')
119 0 0 unless $io->fdopen(fileno STDOUT, 'w')
128 0 0 if ($$self{'_r_io'})
136 0 0 if ($$self{'_w_io'})
197 0 0 unless ($$self{'_header'})
202 0 0 if not defined $size or $size != 8
217 0 0 if (not $$self{'_header'} and $$self{'_first_chunk'})
221 0 0 if ($self->_is_compressed($self->_read_header($input)))
226 0 0 unless ($$self{'_first_chunk'})
230 0 0 if (not defined $size or $size != $readsize and not $r->eof)
231 0 0 defined $size ? :
245 0 0 $$options{'cws'} || $$options{'cws'} ? :
246 0 0 $$options{'fws'} || $$options{'fws'} ? :
251 0 0 if (ref $output eq 'CODE') { }
262 0 0 $self->_is_compressed($$self{'_header'}) ? :
263 0 0 if ($force_cws != $force_fws)
264 0 0 if $force_cws
265 0 0 if $force_fws
269 0 0 if ($to_compress) { }
281 0 0 if (ref $chunk eq 'SCALAR') { }
294 0 0 if (not defined $size or $size != $readsize)
295 0 0 unless ($r->eof)
362 0 0 if (scalar @_ == 1) { }
380 0 0 if ($version < 9)
385 0 0 if (9 <= $version) { }
394 0 0 if (8 == $version)
403 0 0 if length $first < $currentp - 8
406 0 0 if ($tag == 69)
413 0 0 if ($len == 63)
421 0 0 if (defined $result) { }