Condition Coverage

blib/lib/HTTP/Headers/Fast.pm
Criterion Covered Total %
condition 50 73 68.4


and 3 conditions

line !l l&&!r l&&r condition
153 0 21 0 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
430 5 0 16 defined $ct and length $ct
533 5 1 2 @_ and $_[0] =~ /#/
580 3 0 5 defined $old and $old =~ s/^\s*Basic\s+//

or 2 conditions

line l !l condition
273 156 74 $header_order{$a} || 999
144 86 $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 0 10 $op == $OP_GET or $op == $OP_INIT and @old
280 12 0 2 $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
363 8 0 0 $standard_case{$key} || $key
369 16 0 0 $standard_case{$key} || $key
471 1 0 0 s/^\s*;// or s/^\s+//
514 1 1 0 $self->content_type eq 'text/html' || $self->content_is_xhtml
519 2 0 1 $ct eq 'application/xhtml+xml' || $ct eq 'application/vnd.wap.xhtml+xml'