Branch Coverage

blib/lib/Archive/ByteBoozer.pm
Criterion Covered Total %
branch 37 46 80.4


line true false branch
181 1 18 unless $source->opened
182 18 0 if $source->can('binmode')
199 1 16 unless defined $target_file
201 0 16 unless defined $crunched_data
210 1 15 unless $target->opened
212 15 0 if $target->can('binmode')
215 0 430 unless defined $byte
217 0 430 if $num_bytes != 1
219 0 15 unless (defined $target->flush)
235 14 4 unless defined $precede_initial_address
253 13 3 unless defined $relocate_output or defined $relocate_output_up_to
254 2 1 defined $relocate_output_up_to ? :
264 16 1 unless defined $replace_initial_address
275 24 1 if exists $_[1]{'target'}
278 25 1 if exists $_[1]{'source'}
281 2 2 if &looks_like_number($_[0]) and $_[0] >= 0
284 0 0 if &looks_like_number($_[0]) and $_[0] >= 0
287 5 2 if &looks_like_number($_[0]) and $_[0] >= 0
290 3 2 if &looks_like_number($_[0]) and $_[0] >= 0
293 2 0 if &looks_like_number($_[0]) and $_[0] >= 0
296 2 2 if &looks_like_number($_[0]) and $_[0] >= 0
306 1 17 unless length $params->{'_source_data'} > 1
314 1 14 if (defined $params->{'verbose'} and $params->{'verbose'} == 1)