Condition Coverage

lib/WWW/Crawler/Mojo/ScraperUtil.pm
Criterion Covered Total %
condition 26 30 86.6


and 3 conditions

line !l l&&!r l&&r condition
61 74 2 5 $e->tag eq 'select' and $name
89 8 34 27 not $submit and grep {$_ eq $type;} 'submit', 'image'
116 1 0 1 $_[0] =~ qr/http\-equiv="?Refresh"?/iu and (($_[0]{'content'} || '') =~ qr/URL=(.+)/iu)[0]
139 81 1 1 $_[0]->xml and _wrong_dom_detection($_[0])
154 19 155 6 @$path_parts and $path_parts->[0] eq '..'
176 1 0 1 $dom->tag and $dom->tag eq 'script'

or 2 conditions

line l !l condition
14 6 0 shift() || ''
23 11 18 shift() || 'utf-8'
59 15 42 $seed{my $name = $e->{'name'}} ||= []
109 30 1 $dom->{'action'} || ''
29 2 $dom->{'method'} || 'GET'
116 1 0 $_[0]{'content'} || ''