Branch Coverage

lib/CSS/Watcher/Parser.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
47 1 24 if ($selector =~ /\s*\@media/s) { }
0 24 elsif ($selector =~ /\s*\@/s) { }
48 1 0 if ($selector_body =~ /\{(.+)\}/s)
58 0 28 unless ref $_ eq 'ARRAY'
60 19 9 if (exists $rule->{'class'})
66 10 11 exists $rule->{'element'} ? :
69 9 19 if (exists $rule->{'id'})
72 2 7 exists $rule->{'element'} ? :
77 0 24 if ($@)