Condition Coverage

blib/lib/FileSystem/LL/FAT.pm
Criterion Covered Total %
condition 0 181 0.0


and 3 conditions

line !l l&&!r l&&r condition
51 0 0 0 length $bootsect == 512 and "U\252" eq substr($bootsect, -2)
197 0 0 0 not $keep_del and 229 == ord $2
207 0 0 0 $f{'seq_number'} & 128 and $f{'seq_number'} != 229
209 0 0 0 @lfn and not $lfn_del
213 0 0 0 @lfn and $lfn_del
219 0 0 0 @lfn and $f{'seq_number'} & 64
222 0 0 0 @lfn and $f{'seq_number'} != ($lfn_seq & 18446744073709551551) - 1
226 0 0 0 @lfn and $lfn_checksum != $f{'checksum_dosname'}
244 0 0 0 not $keep_dots and $f{'basename'} =~ /^\.\.?$/
0 0 0 not $keep_dots and $f{'basename'} =~ /^\.\.?$/ and $f{'ext'} eq ''
247 0 0 0 @lfn and not $lfn_del
0 0 0 @lfn and not $lfn_del and $lfn_checksum != dos_chksum($f{'basename'}, $f{'ext'})
249 0 0 0 $f{'attrib'} & 8 and not $keep_labels
424 0 0 0 $bpb{'ext_boot_signature'} != 40 and $bpb{'ext_boot_signature'} != 41
461 0 0 0 shift() and not $$s{'raw'} =~ /^\xEB/
464 0 0 0 $$s{'ext_boot_signature'} == 40 || $$s{'ext_boot_signature'} == 41 and $$s{'boot_signature'} == 43605
0 0 0 $$s{'ext_boot_signature'} == 40 || $$s{'ext_boot_signature'} == 41 and $$s{'boot_signature'} == 43605 and $$s{'FS_type'} =~ /^fat(\d{2})?/i
0 0 0 $$s{'ext_boot_signature'} == 40 || $$s{'ext_boot_signature'} == 41 and $$s{'boot_signature'} == 43605 and $$s{'FS_type'} =~ /^fat(\d{2})?/i and !$1 || $1 eq $$s{'guessed_FAT_flavor'}
538 0 0 0 $cluster >= 2 and $cluster <= $last_cluster
544 0 0 0 $compress && ref $compress eq 'CODE' && $compress
566 0 0 0 $next >= 2 and $next <= $last_cluster
582 0 0 0 $r and $c = sysread($fh, $_[0], min($r, $lim_read), length $_[0])
599 0 0 0 $$how{'do_MBR'} eq 'maybe' and defined $$how{'do_bootsector'}
606 0 0 0 $mbr and defined $$how{'parse_MBR'} || defined $$how{'do_bootsector'} || defined $$how{'do_rootdir'} || defined $$how{'do_FAT'}
611 0 0 0 $p[$_]{'start_lba'} && $p[$_]{'sectors'} && $p[$_]{'type'}
621 0 0 0 defined $$how{'do_bootsector'} and not $b_read
643 0 0 0 defined $$how{'parse_FAT'} and $$b{'last_cluster'} < ($$how{'parse_FAT'} || 3000000)
729 0 0 0 not defined $FAT and defined $exp_len
765 0 0 0 $res and $$file{'is_subdir'}
0 0 0 $res and $$file{'is_subdir'} and not $$file{'deleted'}
0 0 0 $res and $$file{'is_subdir'} and not $$file{'deleted'} and not $$file{'name'} =~ /^\.(\.)?$/
790 0 0 0 $exists and not @$path
881 0 0 0 $w eq 12 and $outc % 2

or 2 conditions

line l !l condition
269 0 0 $res ||= 'mid'
492 0 0 shift() || 0
520 0 0 shift() || 0
536 0 0 shift() || 0
577 0 0 sysseek $fh, $seek, 0 or die "sysseek ${seek}: $!"
579 0 0 $_[1] || 0
580 0 0 $_[1] || 0
589 0 0 shift() || 0
643 0 0 $$how{'parse_FAT'} || 3000000
685 0 0 $res || 0
691 0 0 close $fh or die "close `${inif}' for read: $!"
696 0 0 shift() || 0
725 0 0 shift() || 0
741 0 0 shift() || 0
757 0 0 shift() || 0
781 0 0 shift() || 0
790 0 0 mkdir "$p/$$f{'name'}", 511 or die "mkdir `$p/$$f{'name'}': $!"
794 0 0 $how || {}
798 0 0 shift() || 0
811 0 0 $how || {}

or 3 conditions

line l !l&&r !l&&!r condition
220 0 0 0 @lfn or $f{'seq_number'} & 64
410 0 0 0 $$s{'total_sectors1'} || $$s{'total_sectors2'}
411 0 0 0 $$s{'sectors_per_FAT32'} || $$s{'sectors_per_FAT16'}
424 0 0 0 $$s{'last_cluster'} >= 65536 or $$s{'root_dir_entries'} == 0
0 0 0 $$s{'last_cluster'} >= 65536 or $$s{'root_dir_entries'} == 0 or $bpb{'ext_boot_signature'} != 40 and $bpb{'ext_boot_signature'} != 41
464 0 0 0 $$s{'ext_boot_signature'} == 40 || $$s{'ext_boot_signature'} == 41
0 0 0 !$1 || $1 eq $$s{'guessed_FAT_flavor'}
606 0 0 0 defined $$how{'parse_MBR'} || defined $$how{'do_bootsector'} || defined $$how{'do_rootdir'} || defined $$how{'do_FAT'}
624 0 0 0 defined $$how{'parse_bootsector'} or defined $$how{'do_rootdir'}
0 0 0 defined $$how{'parse_bootsector'} or defined $$how{'do_rootdir'} or defined $$how{'do_FAT'}
654 0 0 0 $$how{'raw_FAT'} or not defined $$how{'parse_FAT'}
743 0 0 0 $$f{'is_volume_label'} or $$f{'name'} eq 'EA DATA. SF'
0 0 0 $$f{'is_volume_label'} or $$f{'name'} eq 'EA DATA. SF' or $$f{'name'} eq 'WP ROOT. SF'
786 0 0 0 $$f{'is_volume_label'} or $$f{'name'} =~ /^\.(\.)?$/