blib/lib/HTTP/Accept.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 20 | 85.0 |
line | true | false | branch |
---|---|---|---|
15 | 69 | 1 | if defined $_ |
16 | 10 | 44 | unless @values_to_check |
18 | 0 | 44 | unless $self->values |
19 | 10 | 34 | unless @accepts |
25 | 5 | 37 | if $accept eq '*/*' |
31 | 13 | 37 | if $value eq $accept |
35 | 29 | 8 | if $value_cat ne $cat |
37 | 5 | 3 | if $type eq '*' |
63 | 0 | 24 | unless $quality =~ /q=/ |
69 | 0 | 24 | unless $weighted{$_} |