blib/lib/Plack/Middleware/RevisionPlate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 14 | 78.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
26 | 2 | 0 | 2 | -e $self->_revision_filename && read_file($self->_revision_filename) |
40 | 4 | 2 | 2 | $method ne 'GET' and $method ne 'HEAD' |
line | l | !l | condition |
---|---|---|---|
63 | 3 | 1 | $self->revision_filename // './REVISION' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
16 | 8 | 4 | 0 | $self->_may_handle_request($env) // $self->app->($env) |
63 | 7 | 4 | 0 | $$self{'_revision_filename'} //= $self->revision_filename // './REVISION' |