Condition Coverage

blib/lib/Plack/Middleware/ServerStatus/Availability.pm
Criterion Covered Total %
condition 12 18 66.6


and 3 conditions

line !l l&&!r l&&r condition
47 0 8 5 $self->path->{'status'} and $self->path->{'status'} eq $req->path
8 0 5 $self->path->{'status'} and $self->path->{'status'} eq $req->path and $req->method eq 'GET'
8 0 5 $self->path->{'status'} and $self->path->{'status'} eq $req->path and $req->method eq 'GET' and $self->file
56 0 1 7 $self->path->{'control'} and $self->path->{'control'} eq $req->path
1 0 7 $self->path->{'control'} and $self->path->{'control'} eq $req->path and $req->method eq 'POST'
1 0 7 $self->path->{'control'} and $self->path->{'control'} eq $req->path and $req->method eq 'POST' and $self->file