blib/lib/HTTP/Negotiate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 38 | 71.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
119 | 7 | 0 | 0 | $enc and not ref $enc |
120 | 7 | 0 | 0 | $enc and ref $enc |
135 | 13 | 1 | 2 | exists $accept{'encoding'} and $enc |
159 | 13 | 1 | 2 | exists $accept{'charset'} and $cs |
14 | 0 | 2 | exists $accept{'charset'} and $cs and $cs ne 'us-ascii' | |
165 | 4 | 4 | 8 | $lang and exists $accept{'language'} |
213 | 0 | 6 | 2 | $any_lang and exists $accept{'language'} |
226 | 13 | 0 | 3 | exists $accept{'type'} and $ct |
247 | 0 | 5 | 4 | $at_type ne '*' and $at_type ne $type |
248 | 2 | 2 | 1 | $at_subtype ne '*' and $at_subtype ne $subtype |
line | l | !l | condition |
---|---|---|---|
270 | 3 | 0 | $sel_q || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
264 | 3 | 1 | 0 | not defined $sel_q or $sel_specificness < $specificness |
275 | 15 | 0 | 1 | not defined $mbx or $mbx >= $bs |