Condition Coverage

blib/lib/HTTP/Parser/XS/PP.pm
Criterion Covered Total %
condition 13 24 54.1


and 3 conditions

line !l l&&!r l&&r condition
47 0 0 9 $http and $http =~ m[^HTTP/1\.(\d+)$]

or 2 conditions

line l !l condition
8 9 1 ref $env || ''
65 2 5 $query || ''
121 0 36 $special_headers || {}

or 3 conditions

line l !l&&r !l&&!r condition
123 34 0 2 $str =~ /\r?\n\r?\n/ or $remain =~ /\r?\n\r?\n/
0 0 2 $str =~ /\r?\n\r?\n/ or $remain =~ /\r?\n\r?\n/ or defined $content
138 0 0 0 ord $_ == 9 or ord $_ == 32
161 0 1 4 ord $_ == 9 or ord $_ == 32
187 0 3 11 ord $_ == 9 or ord $_ == 32