Condition Coverage

blib/lib/CSS/Object/Rule.pm
Criterion Covered Total %
condition 8 20 40.0


or 2 conditions

line l !l condition
42 5 0 shift @_ || (return $self->error('No element object was provided to add to this rule.'))
55 40 0 shift @_ || (return $self->error('No property object was provided to add to this rule.'))
68 47 0 shift @_ || (return $self->error('No selector object was provided to add to this rule.'))
80 9 0 shift @_ || (return $self->error('No css object was provided to add our rule to it.'))
94 331 0 $self->format || (return $self->error('No formatter set to format this rule as string.'))
108 331 0 $self->format || (return $self->error('No format object set to format properties as string.'))
119 29 0 $self->SUPER::format(@_) || (return $self->pass_error)
176 0 0 $self->format || (return $self->error('No formatter set to format properties as string.'))
183 0 0 shift @_ || (return $self->error('No css object was provided to remove our rule from it.'))
206 328 0 $self->format || (return $self->error('No formatter set to format selectors as string.'))