Condition Coverage

blib/lib/CSS/Object/Rule.pm
Criterion Covered Total %
condition 8 18 44.4


or 2 conditions

line l !l condition
39 5 0 shift @_ || (return $self->error('No element object was provided to add to this rule.'))
52 40 0 shift @_ || (return $self->error('No property object was provided to add to this rule.'))
65 47 0 shift @_ || (return $self->error('No selector object was provided to add to this rule.'))
77 9 0 shift @_ || (return $self->error('No css object was provided to add our rule to it.'))
91 295 0 $self->format || (return $self->error('No formatter set to format this rule as string.'))
105 295 0 $self->format || (return $self->error('No format object set to format properties as string.'))
116 29 0 $self->SUPER::format(@_) || (return)
173 0 0 $self->format || (return $self->error('No formatter set to format properties as string.'))
183 292 0 $self->format || (return $self->error('No formatter set to format selectors as string.'))