Condition Coverage

blib/lib/CHI/Driver.pm
Criterion Covered Total %
condition 20 30 66.6


and 3 conditions

line !l l&&!r l&&r condition
480 4461 0 2 $expires_on_backend && $obj->expires_at < 4294967295
530 8 0 48 defined $key and defined $code
704 21102 0 267 &Encode::is_utf8($key) and $key =~ /[^\x00-\xFF]/

or 3 conditions

line l !l&&r !l&&!r condition
260 3 11935 0 defined $ns_stats || $log_is_debug
289 3989 36 6220 $obj->is_expired || defined $params{'expire_if'} && $params{'expire_if'}->($obj, $self)
300 9 0 0 $Test_Time || time
410 295 69 43 exists $options->{'expires_at'} or exists $options->{'expires_in'}
428 2 4251 0 defined $ns_stats || $log_is_debug
433 123 4130 0 $Test_Time || time
512 0 201 0 $Test_Time || time