Condition Coverage

blib/lib/Mobile/UserAgentFactory.pm
Criterion Covered Total %
condition 0 33 0.0


and 3 conditions

line !l l&&!r l&&r condition
14 0 0 0 defined $options and ref $options eq 'HASH'
51 0 0 0 @_ and ref $_[0] eq 'HASH'
107 0 0 0 defined $options and ref $options eq 'HASH'
108 0 0 0 defined $$options{'expires_in'} and $$options{'expires_in'}
111 0 0 0 defined $$options{'purge_interval'} and $$options{'purge_interval'}
114 0 0 0 defined $$options{'max_age'} and $$options{'max_age'}
117 0 0 0 defined $$options{'max_objects'} and $$options{'max_objects'}

or 3 conditions

line l !l&&r !l&&!r condition
12 0 0 0 ref $proto || $proto
68 0 0 0 defined $mua or $cache->key_exists($useragent)
102 0 0 0 ref $proto || $proto
180 0 0 0 $$object[2] + $expires <= $now or $$object[1] + $max_age <= $now