Condition Coverage

blib/lib/PAGI/Request/Negotiate.pm
Criterion Covered Total %
condition 11 18 61.1


and 3 conditions

line !l l&&!r l&&r condition
93 1 1 36 defined $header and length $header
100 0 0 75 defined $type and length $type
161 0 1 10 $supported and @$supported
310 1 0 0 $spec == $best_specificity and $quality > $best_quality

or 3 conditions

line l !l&&r !l&&!r condition
249 31 1 0 $TYPE_SHORTCUTS{lc $type} // "application/$type"
310 4 0 1 $spec > $best_specificity or $spec == $best_specificity and $quality > $best_quality