| blib/lib/HTTP/Headers/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 22 | 95.4 |
| line | true | false | branch |
|---|---|---|---|
| 30 | 183 | 52 | if (s/^\s*(=*[^\s=;,]+)//) { } |
| 9 | 43 | elsif (s/^\s*,//) { } | |
| 43 | 0 | elsif (s/^\s*;// or s/^\s+// or s/^=//) { } | |
| 33 | 10 | 173 | if (s/^\s*=\s*\"([^\"\\]*(?:\\.[^\"\\]*)*)\"//) { } |
| 40 | 133 | elsif (s/^\s*=\s*([^;,\s]*)//) { } | |
| 50 | 7 | 2 | if @cur |
| 60 | 135 | 2 | if @cur |
| 68 | 16 | 15 | if @_ and not ref $_[0] |
| 76 | 31 | 26 | if (defined $v) |
| 77 | 5 | 26 | if ($v =~ m([\x00-\x20()<>\@,;:\\\"/\[\]?={}\x7F-\xFF]) or not length $v) { } |
| 88 | 32 | 1 | if @attr |