Condition Coverage

blib/lib/WWW/Wappalyzer.pm
Criterion Covered Total %
condition 32 35 91.4


and 3 conditions

line !l l&&!r l&&r condition
116 1 1 0 do { ref $header_vals_ref ne 'ARRAY' } && do { next }
131 10 0 2 $params{'cats'} && (ref $params{'cats'} || '') eq 'ARRAY'
144 69 7480 1389 @cats > 1 and $app_ref->{'multi_cat'}
7480 650 739 @cats > 1 and $app_ref->{'multi_cat'} and exists $tried_multi_cat_apps{$app_ref->{'name'}}
153 2544 3783 1872 defined $headers_ref and exists $app_ref->{'headers_rules'}
177 9935 2517 3924 defined $params{$rule_type} and exists $app_ref->{$rule_name}
192 69 7480 650 @cats > 1 and $app_ref->{'multi_cat'}
396 851 25 317 @$rules > 1 and @$rules == grep({$_->{'confidence'} == 100;} @$rules)

or 2 conditions

line l !l condition
348 58 2292 $confidence || 100

or 3 conditions

line l !l&&r !l&&!r condition
98 9 3 1 $params{'html'} or $params{'headers'}
3 1 0 $params{'html'} or $params{'headers'} or $params{'url'}
380 43703 1302 10008 $ref eq 'Regexp::Parser::exact' or $ref eq 'Regexp::Parser::anyof_char'