Condition Coverage
blib/lib/Cache/BaseCache.pm
Criterion
Covered
Total
%
condition
5
15
33.3
and 3 conditions
line
!l
l&&!r
l&&r
condition
155
0
0
0
$p_expires_in
=~
/^\s*([+-]?(?:\d+|\d*\.\d*))\s*(\w*)\s*$/
and
exists
$_Expiration_Units
{
$2
}
470
0
0
54
defined
$self
->
get_auto_purge_interval
&&
$self
->
get_auto_purge_interval
ne
$EXPIRES_NEVER
522
0
26
10
$self
->
_should_auto_purge
&&
Object_Has_Expired
(
$self
->
_get_auto_purge_object
)
or 3 conditions
line
l
!l&&r
!l&&!r
condition
101
0
116
0
$p_time
||
time
325
0
50
0
ref
$proto
||
$proto