Branch Coverage

blib/lib/Plack/Middleware/RequestId.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
24 7 1 unless ($self->psgi_env_key)
28 6 2 unless ($self->http_header)
36 4 4 unless ($self->id_generator)
52 1 7 !$self->force_generate_id && $$env{$self->req_http_header} ? :
55 1 7 if ($self->env_key)
63 7 1 if ($res and not $self->no_http_header)