Branch Coverage

blib/lib/CSS/Object/Parser/Default.pm
Criterion Covered Total %
branch 7 14 50.0


line true false branch
64 0 33 unless $rule->add_selector($sel)
89 0 2 unless $rule->add_element($cmt)
92 0 29 unless (/^[[:blank:]\h]*(?<name>[\w\.\_\-]+)[[:blank:]\h]*:[[:blank:]\h]*(?<value>.*?)[[:blank:]\h]*$/)
106 0 29 unless defined $prop
107 0 29 unless $rule->add_property($prop)
125 0 18 unless (/^[[:blank:]\h]*([^{]+?)[[:blank:]\h]*\{(.*)\}[[:blank:]\h]*$/)
131 0 18 unless defined $rule