Condition Coverage

blib/lib/Net/WURFL/ScientiaMobile.pm
Criterion Covered Total %
condition 4 24 16.6


and 3 conditions

line !l l&&!r l&&r condition
217 1 0 0 defined $$env{'QUERY_STRING'} and $$env{'QUERY_STRING'} =~ /\bUA=([^&]+)/
232 0 1 0 $self->report_interval > 0 and $self->cache->getReportAge >= $self->report_interval

or 2 conditions

line l !l condition
141 0 0 $weight || 100
208 1 0 $env ||= \%ENV
222 1 0 $user_agent || ''
307 0 0 $self->_json->{'apiVersion'} || ''
308 0 0 $self->_json->{'mtime'} || ''
309 0 0 $self->_json->{'id'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
128 0 0 0 $k ||= (keys %{$self->wcloud_servers;})[0]
324 0 0 0 not $cache_mtime or $cache_mtime != $self->_loaded_date