Condition Coverage

blib/lib/Mojo/Asset/Memory.pm
Criterion Covered Total %
condition 21 21 100.0


and 3 conditions

line !l l&&!r l&&r condition
16 972 1239 12 $self->auto_upgrade and $self->size + length($chunk) > $self->max_memory_size
30 65 4 16 $start and $pos >= 0
33 73 10 2 $end && $pos + length($str) >= $end

or 2 conditions

line l !l condition
29 83 2 $self->{'content'} // ""
38 8 2710 $max //= 131072
43 1717 1001 +(shift())->{'content'} // ""
46 4 2 $_[0]{'content'} // ""
48 1099 2164 +(shift())->{'content'} // ""
50 1074 110 +(shift())->{'content'} // ""