Branch Coverage

blib/lib/Cache/SizeAwareCacheTester.pm
Criterion Covered Total %
branch 19 38 50.0


line true false branch
39 0 2 unless $cache
46 2 0 $empty_size == 0 ? :
59 2 0 $first_size > $empty_size ? :
72 2 0 $second_size > $first_size ? :
79 2 0 !defined($first_value) ? :
84 2 0 $third_size <= $size_limit ? :
97 0 2 unless $cache
104 2 0 $empty_size == 0 ? :
118 2 0 $first_size > $empty_size ? :
137 2 0 if (time - $start < $first_expires_in) { }
138 2 0 $second_size > $first_size ? :
151 2 0 $third_size <= $size_limit ? :
156 0 2 if (time - $start >= $first_expires_in) { }
0 2 elsif ($second_inserted + $second_expires_in >= $start + $first_expires_in) { }
165 2 0 $first_value eq $value ? :
179 0 2 unless $cache
186 2 0 $empty_size == 0 ? :
197 2 0 $first_size > $empty_size ? :
210 2 0 $second_size <= $max_size ? :