blib/lib/Apache2/SSI/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 29 | 27.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
50 | 0 | 0 | 8 | defined $file and length $file |
123 | 0 | 0 | 9 | defined $newfile and length $newfile |
136 | 0 | 0 | 0 | $rr->status == 'Apache2::Const::HTTP_OK' and $rr->finfo |
0 | 0 | 0 | $rr->status == 'Apache2::Const::HTTP_OK' and $rr->finfo and $rr->finfo->filetype != 'APR::Const::FILETYPE_NOFILE' | |
203 | 0 | 0 | 9 | defined $newfile and length $newfile |
251 | 4 | 0 | 0 | &Scalar::Util::blessed($this) and $this->isa('URI::file') |
line | l | !l | condition |
---|---|---|---|
134 | 0 | 0 | $rr->finfo && $rr->finfo->filetype || '' |
231 | 1 | 0 | $vol //= '' |
232 | 1 | 0 | $file //= '' |
246 | 13 | 0 | shift @_ || (return $self->error('No field provided.')) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
96 | 1 | 0 | 0 | ref $self || $self |