Condition Coverage

blib/lib/Search/Circa/Parser.pm
Criterion Covered Total %
condition 5 87 5.7


and 3 conditions

line !l l&&!r l&&r condition
139 0 0 0 lc $tag eq 'a' and $$att{'href'}
0 0 0 lc $tag eq 'frame' and $$att{'src'}
0 0 0 lc $tag eq 'meta' and defined %$att
0 0 0 $tag eq 'area' and $$att{'href'}
144 0 0 0 $$att{'name'} and lc $$att{'name'} eq 'description'
0 0 0 lc $$att{'http-equiv'} eq 'refresh' and $$att{'content'} =~ /\d*;URL=(.*)$/
222 0 0 0 $$rh{'lastModif'} and $res->last_modified
0 0 0 $$rh{'lastModif'} and $res->last_modified and $$rh{'lastModif'} >= $res->last_modified
340 0 0 0 $$rh{'url_local'} and $var
385 0 0 0 $$self{'AGENT'} and $$self{'_ROBOT'} == $locale
387 0 0 0 $$self{'ConfigMoteur'}{'temporate'} and not $locale
406 0 0 0 $data and $facteur
414 0 0 0 $e =~ /\w/ and length $e > 2
0 0 0 $e =~ /\w/ and length $e > 2 and not $bad{$e}
0 0 0 $e =~ /\w/ and length $e > 2 and not $bad{$e} and not $e =~ /^\d*$/
429 0 0 16 $tag and $links
0 0 16 $tag and $links and $tag eq 'a'
0 0 16 $tag and $links and $tag eq 'a' and $links =~ /\Q$host\E/
0 16 0 $tag and $links and $tag eq 'a' and $links =~ /\Q$host\E/ and not $links =~ /$bad/
434 0 0 0 not $$self{'ConfigMoteur'}{'indexCgi'} and $links =~ /^(.*?)\?/

or 2 conditions

line l !l condition
216 0 0 $res->content_language || 'unkno'
269 0 0 $Search::Circa::Parser::DESCRIPTION || ' '
0 0 $Search::Circa::Parser::KEYWORDS || ' '

or 3 conditions

line l !l&&r !l&&!r condition
123 0 0 1 $@ or $HTML::Parser::VERSION < 3
144 0 0 0 lc $$att{'http-equiv'} eq 'keywords' or lc $$att{'name'} eq 'keywords'
162 0 0 0 $Search::Circa::Parser::inside{'script'} or $Search::Circa::Parser::inside{'style'}
182 0 0 0 $$rh{'url_local'} or 'URI'->new($$rh{'url'})->scheme eq 'file'
262 0 0 0 $1 or $3
271 0 0 0 $res->title || $$rh{'url'}
311 0 0 0 not $nb or $nb < $$this{'ConfigMoteur'}{'nb_min_mots'}