Branch Coverage

blib/lib/Plack/Middleware/EmulateOPTIONS.pm
Criterion Covered Total %
branch 6 6 100.0


line true false branch
21 3 1 unless (defined $self->callback)
37 9 18 if ($env->{'REQUEST_METHOD'} eq 'OPTIONS' and !$filter || &$filter($env)) { }
45 5 4 if (&HTTP::Status::is_success($res->[0]))