Condition Coverage

blib/lib/HTTP/Headers/Fast.pm
Criterion Covered Total %
condition 53 73 72.6


and 3 conditions

line !l l&&!r l&&r condition
153 0 1 20 not $field =~ /^:/ and $TRANSLATE_UNDERSCORE
213 79 5 0 ref $val eq 'ARRAY' and scalar @$val == 1
252 6 2 2 $op == $OP_INIT and @old
431 5 0 24 defined $ct and length $ct
539 5 1 2 @_ and $_[0] =~ /#/
586 3 0 5 defined $old and $old =~ s/^\s*Basic\s+//

or 2 conditions

line l !l condition
273 146 78 $header_order{$a} || 999
147 77 $header_order{$b} || 999

or 3 conditions

line l !l&&r !l&&!r condition
73 5 0 0 ref $self || $self
74 2 2 1 $proto eq $klass || $klass eq 'HTTP::Headers'
165 6 1 5 $entity_header{$_} || /^content-/
170 8 2 7 $entity_header{$_} || /^content-/
199 11 2 28 $skip_standardize or $field =~ /^:/
247 4 6 14 $op ||= defined $val ? $OP_SET : $OP_GET
252 14 2 8 $op == $OP_GET or $op == $OP_INIT and @old
280 12 2 0 $standard_case{$_} || $_
292 7 0 0 $standard_case{$key} || $key
296 9 0 0 $standard_case{$key} || $key
321 15 1 0 $standard_case{$key} || $key
329 106 1 0 $standard_case{$key} || $key
364 8 0 0 $standard_case{$key} || $key
370 16 0 0 $standard_case{$key} || $key
472 1 0 0 s/^\s*;// or s/^\s+//
520 1 1 1 $self->content_type eq 'text/html' || $self->content_is_xhtml
525 2 0 3 $ct eq 'application/xhtml+xml' || $ct eq 'application/vnd.wap.xhtml+xml'