blib/lib/Plack/Middleware/RevisionPlate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 14 | 85.7 |
line | true | false | branch |
---|---|---|---|
31 | 0 | 12 | unless my $path_match = $self->path |
35 | 0 | 12 | 'CODE' eq ref $path_match ? : |
36 | 4 | 8 | unless $matched |
40 | 2 | 6 | if $method ne 'GET' and $method ne 'HEAD' |
44 | 3 | 3 | if (defined $$self{'revision'}) { } |
45 | 2 | 1 | if (-e $self->_revision_filename) { } |
57 | 2 | 4 | if $method eq 'HEAD' |