Condition Coverage

blib/lib/HTTP/UserAgentString/Parser.pm
Criterion Covered Total %
condition 11 36 30.5


and 3 conditions

line !l l&&!r l&&r condition
189 0 0 0 $self->_writeCacheFile($self->cache_file, $inidata) && $self->_writeCacheFile($self->version_file, $version)
247 0 0 0 defined $current_version and !defined($cache_version) || $current_version gt $cache_version
298 8 3384 3392 defined $lastid and $id == $lastid
321 0 28 0 defined $a and @$a
339 5620 0 0 $os_id and defined $$self{'os'}[$os_id]
363 8 0 0 defined $val and not $val =~ /^\d+$/
382 0 0 4 $self->updateDB and $self->_loadDB
443 0 0 2 defined $os_id and defined $$self{'os'}[$os_id]

or 3 conditions

line l !l&&r !l&&!r condition
244 0 0 4 $do_check or $force
247 0 0 0 !defined($cache_version) || $current_version gt $cache_version
376 0 4 0 $opts{'cache_dir'} || $DEFAULT_CACHE_DIR
0 4 0 $opts{'cache_max_age'} || $DEFAULT_CACHE_MAX_AGE