Condition Coverage

blib/lib/Sys/Export/Extent.pm
Criterion Covered Total %
condition 22 34 64.7


and 3 conditions

line !l l&&!r l&&r condition
32 5 0 0 builtin::blessed($x) and $x->isa($class)
53 46 0 21 ($self->{'size'} // 0) > 0 and ($self->device_offset // -1) >= 0
46 21 0 ($self->{'size'} // 0) > 0 and ($self->device_offset // -1) >= 0 and round_up_to_multiple($v[0], $self->block_size) != round_up_to_multiple($self->{'size'}, $self->block_size)
62 4 44 0 ($v[0] // 0) > 0 and $v[0] & $self->block_size - 1
72 0 0 1 $v[0] && $v[0] * $self->block_size
76 3 1 139 defined $ofs && $ofs >= 0
99 40 24 0 defined $v[0] and not &isa_data_ref($v[0])

or 2 conditions

line l !l condition
38 109 0 $self->{'name'} // "extent"
45 244 30 $self->{'block_size'} // 512
53 23 44 $self->{'size'} // 0
21 0 $self->device_offset // -1
62 47 1 $v[0] // 0

or 3 conditions

line l !l&&r !l&&!r condition
93 0 0 37 ($ofs // -1) < 0 || !$size