Condition Coverage

blib/lib/Sys/Export/VFAT/Geometry.pm
Criterion Covered Total %
condition 39 85 45.8


and 3 conditions

line !l l&&!r l&&r condition
36 378 0 0 @attrs == 1 && &isa_hash($attrs[0])
48 0 0 378 &isa_int($volume_offset) and $volume_offset >= 0
52 0 0 378 &isa_pow2($bytes_per_sector) and 512 <= $bytes_per_sector
0 0 378 &isa_pow2($bytes_per_sector) and 512 <= $bytes_per_sector and $bytes_per_sector <= 4096
57 0 0 378 &isa_pow2($sectors_per_cluster) and $sectors_per_cluster <= 128
65 0 0 378 &isa_int($fat_count) and 0 < $fat_count
0 0 378 &isa_int($fat_count) and 0 < $fat_count and $fat_count <= 255
78 378 0 0 defined $reserved_sector_count and defined $fat_sector_count
378 0 0 defined $reserved_sector_count and defined $fat_sector_count and defined $root_dirent_count
0 0 0 defined $reserved_sector_count and defined $fat_sector_count and defined $root_dirent_count and defined $total_sector_count
85 0 0 0 defined $cluster_count and $cluster_count != $calc_cluster_count
93 0 0 378 &isa_int($cluster_count) and $cluster_count > 0
98 296 82 0 $cluster_count >= 4069 and $cluster_count < 4101
337 41 0 $cluster_count >= 65509 and $cluster_count < 65541
138 0 0 1 $root_dirent_count >= 1 and $root_dirent_count < 65535
155 0 0 41 &isa_int($reserved_sector_count) and $reserved_sector_count >= 2
160 121 37 220 defined $align_clusters and $align_clusters > $bytes_per_sector

or 2 conditions

line l !l condition
47 376 2 $volume_offset //= 0
51 377 1 $bytes_per_sector //= 512
64 121 257 $fat_count //= 2
105 0 378 $min_bits //= "FAT12"
141 255 81 $used_root_dirent_count // 512
148 0 337 $reserved_sector_count //= 1
151 0 41 $root_dirent_count //= 0
154 0 41 $reserved_sector_count //= 32

or 3 conditions

line l !l&&r !l&&!r condition
45 121 257 0 not defined $align_clusters or &isa_pow2($align_clusters)
56 377 1 0 $sectors_per_cluster //= $bytes_per_sector >= 4096 ? 1 : 4096 / $bytes_per_sector
87 0 0 0 $cluster_count //= $calc_cluster_count
220 23161 378 0 $self->{'data_start_sector'} //= $self->root_dir_start_sector + $self->root_dir_sector_count
235 326 200 0 $self->{'total_sector_count'} //= $self->data_start_sector + $self->cluster_count * $self->sectors_per_cluster
341 0 0 0 $attrs{$_} ||= $_32