Condition Coverage

blib/lib/HTTP/Request/Diff.pm
Criterion Covered Total %
condition 40 64 62.5


and 3 conditions

line !l l&&!r l&&r condition
306 13 11 0 $ref =~ /\A(.*?)[\r]?\n[\r]?\n/u and $1 =~ /[^\r]\n/u
308 13 11 0 $actual =~ /\A(.*?)[\r]?\n[\r]?\n/u and $1 =~ /[^\r]\n/u
318 22 1 1 $options{'mode'} eq "strict" and my $q = $r_ref->uri->query
354 20 0 2 $r_ref->headers->content_type eq "multipart/form-data" and $r_actual->headers->content_type eq "multipart/form-data"
19 0 1 $r_actual->headers->content_type eq "application/x-www-form-urlencoded" and $r_actual->headers->content_type eq "application/x-www-form-urlencoded"
429 0 3 1 $self->mode eq 'lax' || $self->mode eq 'semantic' and $type eq "headers.Content-Length"
3 0 1 $self->mode eq 'lax' || $self->mode eq 'semantic' and $type eq "headers.Content-Length" and ($ref_v // 0) == 0
3 1 0 $self->mode eq 'lax' || $self->mode eq 'semantic' and $type eq "headers.Content-Length" and ($ref_v // 0) == 0 and ($actual_v // 0) == 0

or 2 conditions

line l !l condition
227 0 8 $res{$p->{'name'}} //= []
429 0 1 $ref_v // 0
1 0 $actual_v // 0
459 0 4 $diff_type //= "missing"
464 2 1 $diff_type //= "missing"
539 1 0 $_ // ""
540 3 0 $_->{'reference'} // ""
0 1 $_ // ""
2 1 $_->{'actual'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
254 0 24 0 $options{'warn_on_newlines'} //= $self->warn_on_newlines
255 0 24 0 $options{'mode'} //= $self->mode
267 17 0 0 $actual_or_reference // $self->actual
351 22 0 2 $self->mode eq "semantic" or $self->mode eq "lax"
423 94 0 34 defined $ref_v || defined $actual_v
429 0 4 0 $self->mode eq 'lax' || $self->mode eq 'semantic'

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
423 108 2 2 34 defined $ref_v xor defined $actual_v