| blib/lib/CGI/Application/Plugin/Header.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 24 | 26 | 92.3 | 
| line | true | false | branch | 
|---|---|---|---|
| 21 | 0 | 26 | ref $_[0] eq 'HASH' ? : | 
| 24 | 1 | 10 | if lc $key eq 'header' | 
| 32 | 7 | 93 | if @_ | 
| 38 | 1 | 34 | ref $_[0] eq 'HASH' ? : | 
| 41 | 0 | 35 | if $self->header_type eq 'none' | 
| 42 | 1 | 34 | if @props % 2 | 
| 45 | 6 | 29 | if (ref $value eq 'ARRAY') | 
| 46 | 3 | 3 | if ($header->exists($key)) { } | 
| 48 | 1 | 2 | if (ref $existing_value eq 'ARRAY') { } | 
| 68 | 3 | 45 | ref $_[0] eq 'HASH' ? : | 
| 72 | 11 | 37 | if (@_) | 
| 73 | 1 | 10 | if $self->header_type eq 'none' | 
| 74 | 1 | 10 | if @props % 2 |