Condition Coverage

blib/lib/HTTP/GetImages.pm
Criterion Covered Total %
condition 0 104 0.0


and 2 conditions

line l !l condition
430 0 0 warn "Couldn't open to save <$filename>!" and return 'Failed to save.'

and 3 conditions

line !l l&&!r l&&r condition
194 0 0 0 exists $$self{'dir'} and defined $$self{'dir'}
205 0 0 0 exists $$self{'chat'} and defined $$self{'chat'}
211 0 0 0 exists $$self{'match_url'} and not ref $$self{'match_url'}
214 0 0 0 exists $$self{'todo'} and not ref $$self{'todo'}
217 0 0 0 exists $$self{'dont'} and not ref $$self{'dont'}
264 0 0 0 exists $$self{'dont'}{'ALL'} and not $$self{'todo'}{$doc_url}
308 0 0 0 @$token[1] eq 'img' and exists @$token[2]->{'src'}
0 0 0 @$token[1] =~ /^(area|a)$/ and exists @$token[2]->{'href'}
0 0 0 @$token[1] =~ /^(area|a)$/ and exists @$token[2]->{'href'} and @$token[0] eq 'S'
0 0 0 @$token[1] eq 'frame' and exists @$token[2]->{'src'}
311 0 0 0 $uri and not exists $$self{'IGNORE0'}{$uri}
0 0 0 $uri and not exists $$self{'IGNORE0'}{$uri} and not exists $$self{'DONE'}{$uri}
0 0 0 $uri and not exists $$self{'IGNORE0'}{$uri} and not exists $$self{'DONE'}{$uri} and not exists $$self{'FAILED'}{$uri}
321 0 0 0 $uri and not exists $$self{'dont'}{$uri}
0 0 0 $uri and not exists $$self{'dont'}{$uri} and not exists $$self{'DONE'}{$uri}
0 0 0 $uri and not exists $$self{'dont'}{$uri} and not exists $$self{'DONE'}{$uri} and not exists $$self{'FAILED'}{$uri}
0 0 0 exists $$self{'dont'}{'ALL'} && !exists($$self{'todo'}{$uri})
0 0 0 $uri and not exists $$self{'dont'}{$uri} and not exists $$self{'DONE'}{$uri} and not exists $$self{'FAILED'}{$uri} and not exists $$self{'dont'}{'ALL'} && !exists($$self{'todo'}{$uri})
332 0 0 0 $uri and not exists $$self{'IGNORE0'}{$uri}
0 0 0 $uri and not exists $$self{'IGNORE0'}{$uri} and not exists $$self{'DONE'}{$uri}
0 0 0 $uri and not exists $$self{'IGNORE0'}{$uri} and not exists $$self{'DONE'}{$uri} and not exists $$self{'FAILED'}{$uri}
0 0 0 exists $$self{'dont'}{'ALL'} && !exists($$self{'todo'}{$uri})
0 0 0 $uri and not exists $$self{'IGNORE0'}{$uri} and not exists $$self{'DONE'}{$uri} and not exists $$self{'FAILED'}{$uri} and not exists $$self{'dont'}{'ALL'} && !exists($$self{'todo'}{$uri})
363 0 0 0 $attempt != 1 and $attempt - 1 == $$self{'max_attempts'}
385 0 0 0 exists $$self{'max_size'} || exists $$self{'min_size'} and $url =~ /(\.$$self{'ext_ok'})$/i
388 0 0 0 defined $_ and $$self{'min_size'}
0 0 0 defined $_ and $$self{'min_size'} and $_ < $$self{'min_size'}
0 0 0 defined $_ and $$self{'max_size'}
0 0 0 defined $_ and $$self{'max_size'} and $_ > $$self{'max_size'}

or 3 conditions

line l !l&&r !l&&!r condition
252 0 0 0 exists $$self{'FAILED'}{$doc_url} or exists $$self{'DONE'}{$doc_url}
271 0 0 0 exists $$self{'todo'}{$doc_url} or $doc_url =~ /(\.$$self{'ext_ok'})$/i
0 0 0 exists $$self{'todo'}{$doc_url} or $doc_url =~ /(\.$$self{'ext_ok'})$/i or exists $$self{'dont'}{'NONE'}
385 0 0 0 exists $$self{'max_size'} || exists $$self{'min_size'}
415 0 0 0 exists $$self{'DONE'}{$url} or exists $$self{'FAILED'}{$url}