Branch Coverage

blib/lib/Sys/Export/ISO9660Hybrid.pm
Criterion Covered Total %
branch 16 50 32.0


line true false branch
26 2 0 &isa_handle($attrs[0]) ? :
0 2 &isa_hash($attrs[0]) ? :
0 2 @attrs != 1 ? :
46 0 0 if (@_ > 1) { }
47 2 2 if (@_ > 1) { }
56 0 0 if (@_ > 1)
65 0 2 if (@v)
66 0 0 ref $v[0] ? :
68 0 0 unless length $sector0 <= 446 or substr($sector0, 446, 64) =~ /^\0+\z/u
80 1 0 if &isa_array($fileinfo)
83 0 1 if ($is_dir) { }
98 0 2 unless ($fh)
99 0 0 unless defined $self->filename
100 0 0 unless open $fh, "+>", $self->filename
128 2 0 if ($table_bytes_needed <= 3072) { }
0 0 elsif ($table_bytes_needed <= 12288) { }
150 0 2 if defined $p->start_lba
152 2 0 if ($p->type eq 'C12A7328-F81F-11D2-BA4B-00A0C93EC93B' and not $esp->volume_offset) { }
0 0 elsif (not $p->size) { }
162 0 0 if ($p->data) { }
165 0 0 unless $p->size
177 2 0 if ($size < $need_size)
178 0 2 unless truncate $fh, $need_size
194 0 1 if $vfile->device_offset % 2048
205 0 2 if ($self->mbr_boot_code)