Branch Coverage

blib/lib/CSS/Object/Element.pm
Criterion Covered Total %
branch 7 14 50.0


line true false branch
27 7 168 unless ($self->_is_a($self->{'format'}, "CSS::Object::Format"))
41 0 0 unless $self->_is_a($css, "CSS::Object")
55 161 767 if (@_)
61 161 0 if ($self->_is_a($val, 'CSS::Object::Format')) { }
0 0 elsif (not ref $val and index($val, '::') != -1) { }
65 30 131 if ($self->format)
78 0 0 unless $self->_load_class($val)