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
153 0 0 0 -e $file and not $override
203 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'updates'}}
227 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'updates'}}
250 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->list_to_file($list)}
282 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'updates'}}
314 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'updates'}}
343 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->list_to_file($list)}
383 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'full_hashes'}}
416 0 0 0 $self->{'sticky'} and exists $self->{'data'}{$self->{'files'}{'full_hashes'}}
438 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
143 0 0 $args{'override'} || 0
146 0 0 $args{'state'} || ''
217 0 0 $update->{'next_update'} || 0
241 0 0 $update->{'last_update'} || 0
0 0 $update->{'errors'} || 0
268 0 0 $update->{'state'} || ''
306 0 0 $args{'wait'} || 1800
307 0 0 $args{'errors'} || 0
413 0 0 $args{'hash'} || (return ())

or 3 conditions

line l !l&&r !l&&!r condition
142 0 0 0 $args{'list'} || croak('Missing list information')
185 0 0 0 $args{'list'} || croak('Missing list information')
247 0 0 0 $args{'list'} || croak("Missing list information\n")
273 0 0 0 $args{'time'} || time
274 0 0 0 $args{'next'} || time + 1800
305 0 0 0 $args{'time'} || time
378 0 0 0 $args{'timestamp'} || time