Branch Coverage

blib/lib/Plack/Middleware/FixIEXDomainRequestBug.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
10 2 0 uc((pop())->{'REQUEST_METHOD'}) eq 'POST' ? :
13 1 1 if (my $content_type = (pop())->{'CONTENT_TYPE'}) { }
14 1 0 lc $content_type eq 'text/plain' ? :
22 1 1 $v && ($v eq '8' || $v eq '9') ? :
27 1 1 if ($self->is_POST($env) and $self->missing_or_textplain_content($env) and $self->is_ie8_or9($env)) { }
40 1 0 if (my $force = $self->force_content_type) { }
0 0 elsif (my $code = $self->guess_with) { }
49 0 1 unless ($self->force_content_type or $self->guess_with)
56 1 1 if ($self->meets_criteria($env))
57 1 0 if (my $new_content_type = $self->provide_content_type($env)) { }