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
92 1 1 41 defined $header and length $header
99 0 0 85 defined $type and length $type
160 0 1 10 $supported and @$supported
309 1 0 0 $spec == $best_specificity and $quality > $best_quality

or 3 conditions

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