Condition Coverage

blib/lib/Net/Google/SafeBrowsing3.pm
Criterion Covered Total %
condition 4 87 4.6


and 3 conditions

line !l l&&!r l&&r condition
328 0 0 0 $$info{'time'} + $$info{'wait'} > time and $force == 0
612 0 0 0 defined $hash and defined $list
1127 37 3 0 $exception and $escape =~ m[^[a-z]+://[^/]+/(.+)]
1201 0 0 0 defined $errors and $$errors{'errors'} > 2
1228 0 0 0 defined $errors and $$errors{'errors'} >= 2 || $$errors{'errors'} == 1 && time - $$errors{'timestamp'} > 300
1354 0 0 0 $i > 1 and $new_range == 1

or 2 conditions

line l !l condition
314 0 0 $args{'force'} || 0
526 0 0 $args{'list'} || ''
527 0 0 $args{'url'} || (return '')
570 0 0 $args{'url'} || (return '')
594 0 0 $$result{'type'} || 0
617 0 0 $$hash{'type'} || 0
639 0 0 $args{'url'} || (return ())
640 0 0 $args{'full_hashes'} || []
641 0 0 $args{'full_hashes_prefix'} || []
710 0 0 $args{'list'} || ''
758 0 0 $args{'data'} || ''
759 0 0 $args{'list'} || ''
794 0 0 $args{'chunk'} || (return ())
811 0 0 $$chunk{'prefix_type'} || 0
812 0 0 $$chunk{'hashes'} || ''
839 0 0 $args{'chunk'} || (return ())
847 0 0 $$chunk{'prefix_type'} || 0
848 0 0 $$chunk{'hashes'} || ''
1181 0 0 $args{'prefixes'} || (return ())
1344 0 0 $args{'numbers'} || []
1377 0 0 $args{'range'} || (return ())

or 3 conditions

line l !l&&r !l&&!r condition
569 0 0 0 $args{'lists'} || croak("Missing lists\n")
638 0 0 0 $args{'lists'} || croak("Missing lists\n")
679 0 0 0 $$add_chunk{'chunknum'} != $$sub_chunk{'addchunknum'} or $$add_chunk{'list'} ne $$sub_chunk{'list'}
709 0 0 0 $args{'time'} || time
773 0 0 0 not exists $$data{'chunk_type'} or $$data{'chunk_type'} == 0
914 0 0 0 $$self{'debug'} > 0 or $$self{'errors'} > 0
1056 3 0 37 not $uri->scheme or $uri->scheme eq ''
1182 0 0 0 $args{'size'} || length $$prefixes[0]
1228 0 0 0 $$errors{'errors'} >= 2 || $$errors{'errors'} == 1 && time - $$errors{'timestamp'} > 300