Condition Coverage

blib/lib/Mojo/Asset/File.pm
Criterion Covered Total %
condition 14 19 73.6


and 3 conditions

line !l l&&!r l&&r condition
32 74 1 44 $self->cleanup and defined(my $path = $self->path)
36 0 1 43 -w $path and ($self->{'pid'} // $$) == $$

or 2 conditions

line l !l condition
41 63 0 $self->handle->syswrite($chunk) // -1
81 8 126 $max //= 131072

or 3 conditions

line l !l&&r !l&&!r condition
36 44 0 0 $self->{'pid'} // $$
52 26 41 2 $self->end_range // $self->size
70 15 0 39 $read == 0 or ($offset += $read) == $end