Condition Coverage

blib/lib/CSS/Object/Parser/Default.pm
Criterion Covered Total %
condition 5 10 50.0


or 2 conditions

line l !l condition
45 18 0 $self->css || (return $self->error('Our css object is gone!'))
49 18 0 $css->new_rule('debug', $self->debug) || (return $self->pass_error('CSS::Object::Rule'->error))
59 33 0 $css->new_selector('name', $name, 'debug', $self->debug) || (return $self->error('Unable to create a new CSS::Object::Selector objet: ', 'CSS::Object::Selector'->error))
88 2 0 $css->new_comment([split(/\r?\n/, $txt, 0)]) || (return $self->error('Unable to create a new CSS::Object::Comment object: ', 'CSS::Object::Comment'->error))
105 29 0 'CSS::Object::Property'->new({'debug', $self->debug, 'name', $+{'name'}, 'value', $+{'value'}}) || (return $self->error('Unable to create a new CSS::Object::Property object: ', 'CSS::Object::Property'->error))