Condition Coverage

blib/lib/WWW/Wappalyzer.pm
Criterion Covered Total %
condition 41 46 89.1


and 2 conditions

line l !l condition
230 41710 2855 not $detected and exists $app_ref->{'cookies_rules'} and scalar keys %cookies

and 3 conditions

line !l l&&!r l&&r condition
165 4 1 0 do { ref $header_vals_ref ne 'ARRAY' } && do { next }
180 15 0 2 $params{'cats'} && (ref $params{'cats'} || '') eq 'ARRAY'
202 86 36929 15598 @cats > 1 and $app_ref->{'multi_cat'}
36929 7560 8038 @cats > 1 and $app_ref->{'multi_cat'} and exists $tried_multi_cat_apps{$app_ref->{'name'}}
211 0 38589 5986 defined $headers_ref and exists $app_ref->{'headers_rules'}
230 10 41710 2855 not $detected and exists $app_ref->{'cookies_rules'}
252 59524 11276 18316 defined $params{$rule_type} and exists $app_ref->{$rule_name}
267 86 36929 7560 @cats > 1 and $app_ref->{'multi_cat'}
487 6731 115 1575 @$rules > 1 and @$rules == grep({$_->{'confidence'} == 100;} @$rules)

or 2 conditions

line l !l condition
439 254 13953 $confidence || 100

or 3 conditions

line l !l&&r !l&&!r condition
147 11 6 1 $params{'html'} or $params{'headers'}
6 1 0 $params{'html'} or $params{'headers'} or $params{'url'}
373 1357 92 10446 $field eq "html" or $field eq "scripts"
1627 773 0 $field eq "headers" or $field eq "cookies"
471 266299 3822 40530 $ref eq "Regexp::Parser::exact" or $ref eq "Regexp::Parser::anyof_char"