Condition Coverage

blib/lib/Apache2/SSI/Notes.pm
Criterion Covered Total %
condition 10 24 41.6


and 3 conditions

line !l l&&!r l&&r condition
84 1 0 0 defined $Nice::Try::WANTARRAY and !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')

or 2 conditions

line l !l condition
40 63 0 'Apache2::SSI::SharedMem'->new('key', length $self->{'key'} ? $self->{'key'} : 'ap2_ssi_notes', 'size', $self->{'size'}, 'create', 1, 'debug', $self->debug) || (return $self->pass_error('Apache2::SSI::SharedMem'->error))
43 63 0 $mem->open || (return $self->pass_error($mem->error))
64 1 0 $self->read_mem || (return)
103 6 0 $self->read_mem || (return)
115 10 0 $self->shem || (return $self->error('Oh no, the shared memory object is gone! That should not happen.'))
128 1 0 $self->shem || (return $self->error('Oh no, the shared memory object is gone! That should not happen.'))
141 2 0 $self->read_mem || (return)
163 1 0 $self->read_mem || (return)
172 5 0 $self->shem || (return $self->error('Oh no, the shared memory object is gone! That should not happen.'))

or 3 conditions

line l !l&&r !l&&!r condition
84 0 0 0 !&Scalar::Util::blessed($Nice::Try::RETVAL[0]) || &Scalar::Util::blessed($Nice::Try::RETVAL[0]) && !$Nice::Try::RETVAL[0]->isa('Nice::Try::SENTINEL')