Condition Coverage

blib/lib/Net/Google/SafeBrowsing4/Storage/File.pm
Criterion Covered Total %
condition 0 75 0.0


and 3 conditions

line !l l&&!r l&&r condition
152 0 0 0 -e $file and not $override
202 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'updates'}}
226 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'updates'}}
249 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->list_to_file($list)}
281 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'updates'}}
313 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'updates'}}
342 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->list_to_file($list)}
382 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'full_hashes'}}
415 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'full_hashes'}}
437 0 0 0 $_->{'hash'} eq $hash and $_->{'list'}{'threatEntryType'} eq $list->{'threatEntryType'}
0 0 0 $_->{'hash'} eq $hash and $_->{'list'}{'threatEntryType'} eq $list->{'threatEntryType'} and $_->{'list'}{'threatType'} eq $list->{'threatType'}
0 0 0 $_->{'hash'} eq $hash and $_->{'list'}{'threatEntryType'} eq $list->{'threatEntryType'} and $_->{'list'}{'threatType'} eq $list->{'threatType'} and $_->{'list'}{'platformType'} eq $list->{'platformType'}

or 2 conditions

line l !l condition
142 0 0 $args{'override'} || 0
145 0 0 $args{'state'} || ''
216 0 0 $update->{'next_update'} || 0
240 0 0 $update->{'last_update'} || 0
0 0 $update->{'errors'} || 0
267 0 0 $update->{'state'} || ''
305 0 0 $args{'wait'} || 1800
306 0 0 $args{'errors'} || 0
412 0 0 $args{'hash'} || (return ())

or 3 conditions

line l !l&&r !l&&!r condition
141 0 0 0 $args{'list'} || croak('Missing list information')
184 0 0 0 $args{'list'} || croak('Missing list information')
246 0 0 0 $args{'list'} || croak("Missing list information\n")
272 0 0 0 $args{'time'} || time
273 0 0 0 $args{'next'} || time + 1800
304 0 0 0 $args{'time'} || time
377 0 0 0 $args{'timestamp'} || time