Condition Coverage

blib/lib/Apache2/SSI/File.pm
Criterion Covered Total %
condition 7 25 28.0


and 3 conditions

line !l l&&!r l&&r condition
48 0 0 8 defined $file and length $file
121 0 0 9 defined $newfile and length $newfile
134 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'
198 0 0 9 defined $newfile and length $newfile
239 1 3 0 &Scalar::Util::blessed($this) and $this->isa('URI::file')

or 2 conditions

line l !l condition
132 0 0 $rr->finfo && $rr->finfo->filetype || ''
234 13 0 shift @_ || (return $self->error('No field provided.'))

or 3 conditions

line l !l&&r !l&&!r condition
94 1 0 0 ref $self || $self