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 924 1182 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 2558 $max //= 131072
43 1649 917 +(shift())->{'content'} // ""
46 4 2 $_[0]{'content'} // ""
48 1047 2019 +(shift())->{'content'} // ""
50 1038 109 +(shift())->{'content'} // ""