Branch Coverage

blib/lib/CSS/Object/Value.pm
Criterion Covered Total %
branch 8 28 28.5


line true false branch
30 44 1 if scalar(@_) % 2
35 44 1 if defined $val
46 0 210 unless $self->format
64 44 210 if (@_)
67 0 44 if ($self->_is_a($val, 'CSS::Object::Value')) { }
71 0 0 if ($val->comment_after->length)
76 0 0 if defined $cmt
79 0 0 if ($val->comment_before->length)
84 0 0 if defined $cmt
116 0 0 if $self->_is_hash($_[0])
117 0 0 if ($opts->{'before'})
122 0 0 if ($opts->{'after'})
135 0 0 if ($self->_is_a($this, 'CSS::Objet::Comment')) { }
0 0 elsif ($self->_is_array($this) or not ref $this) { }