Branch Coverage

blib/lib/CSS/Object/Value.pm
Criterion Covered Total %
branch 8 36 22.2


line true false branch
32 44 1 if scalar(@_) % 2
37 44 1 if defined $val
47 0 258 unless $self->format
65 44 258 if (@_)
68 0 44 if ($self->_is_a($val, 'CSS::Object::Value')) { }
72 0 0 if ($val->comment_after->length)
77 0 0 if defined $cmt
80 0 0 if ($val->comment_before->length)
85 0 0 if defined $cmt
115 0 0 if $self->_is_hash($_[0])
116 0 0 if ($opts->{'before'})
119 0 0 unless defined $cmt
120 0 0 if defined $cmt and length $cmt
122 0 0 if ($opts->{'after'})
125 0 0 unless defined $cmt
126 0 0 if defined $cmt and length $cmt
136 0 0 if ($self->_is_a($this, 'CSS::Objet::Comment')) { }
0 0 elsif ($self->_is_array($this) or not ref $this) { }