Branch Coverage

blib/lib/Catalyst/Controller/SimpleCAS/CSS/Simple.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
48 0 0 if defined $value
83 0 0 defined $params->{'warns_as_errors'} && $params->{'warns_as_errors'} ? :
115 0 0 unless ($params and $params->{'filename'})
119 0 0 unless open FILE, '<', $params->{'filename'}
154 0 0 unless (exists $params->{'css'})
158 0 0 if ($params and $params->{'css'}) { }
167 0 0 unless (/^\s*([^{]+?)\s*\{(.*)\}\s*$/)
183 0 0 if (/^\s*[\*\-\_]/ or /\\/)
188 0 0 unless (/^\s*([\w._-]+)\s*:\s*(.*?)\s*$/)
202 0 0 if ($self->check_selector({'selector', $selector})) { }
242 0 0 unless (exists $params->{'filename'})
247 0 0 unless open CSS, '>' . $params->{'filename'}
274 0 0 if (keys %{$properties;})
398 0 0 if ($self->check_selector({'selector', $params->{'selector'}})) { }
438 0 0 if ($self->check_selector({'selector', $params->{'selector'}})) { }
475 0 0 if ($self->check_selector({'selector', $params->{'selector'}})) { }
554 0 0 unless ($self and ref $self)
566 0 0 if ($self->{'warns_as_errors'}) { }