Condition Coverage

blib/lib/Iterator/Flex/Cache.pm
Criterion Covered Total %
condition 12 12 100.0


and 3 conditions

line !l l&&!r l&&r condition
69 1 1 11 &Scalar::Util::looks_like_number($capacity) and int $capacity == $capacity
2 2 9 &Scalar::Util::looks_like_number($capacity) and int $capacity == $capacity and $capacity > 0

or 2 conditions

line l !l condition
68 6 7 delete $pars{'capacity'} // 2
96 2 9 $idx //= -1
97 2 9 $cache //= []