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 933 1197 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 2588 $max //= 131072
43 1667 929 +(shift())->{'content'} // ""
46 4 2 $_[0]{'content'} // ""
48 1059 2043 +(shift())->{'content'} // ""
50 1047 109 +(shift())->{'content'} // ""