Condition Coverage

blib/lib/CHI/Driver.pm
Criterion Covered Total %
condition 18 30 60.0


and 3 conditions

line !l l&&!r l&&r condition
480 3716 0 0 $expires_on_backend && $obj->expires_at < 4294967295
530 7 0 42 defined $key and defined $code
704 17677 0 188 &Encode::is_utf8($key) and $key =~ /[^\x00-\xFF]/

or 3 conditions

line l !l&&r !l&&!r condition
260 3 10028 0 defined $ns_stats || $log_is_debug
287 3505 0 5194 $obj->is_expired || defined $params{'expire_if'} && $params{'expire_if'}($obj, $self)
300 8 0 0 $Test_Time || time
410 277 57 38 exists $$options{'expires_at'} or exists $$options{'expires_in'}
428 2 3538 0 defined $ns_stats || $log_is_debug
433 132 3408 0 $Test_Time || time
512 0 168 0 $Test_Time || time