Condition Coverage

blib/lib/CSS/Object/Value.pm
Criterion Covered Total %
condition 1 17 5.8


and 3 conditions

line !l l&&!r l&&r condition
121 0 0 0 defined $cmt and length $cmt
127 0 0 0 defined $cmt and length $cmt

or 2 conditions

line l !l condition
94 2 0 'CSS::Object::Comment'->new([split(/\r\n/, $1, 0)]) || (return $self->error('Cannot create comment object: ', 'CSS::Object::Comment'->error))
101 0 0 'CSS::Object::Comment'->new([split(/\r\n/, $1, 0)]) || (return $self->error('Cannot create comment object: ', 'CSS::Object::Comment'->error))
136 0 0 shift @_ || (return '')
143 0 0 'CSS::Object::Comment'->new($this, 'debug', $self->debug) || (return $self->error('Cannot create a new comment from array provided in this property value: ', 'CSS::Object::Comment'->error))

or 3 conditions

line l !l&&r !l&&!r condition
137 0 0 0 $self->_is_array($this) or not ref $this