Branch Coverage

blib/lib/OCBNET/CSS3/Styles.pm
Criterion Covered Total %
branch 33 38 86.8


line true false branch
115 113 23 if (exists $matcher{$key}) { }
123 82 31 if (ref $matcher eq 'Regexp')
130 112 1 if (ref $matcher eq 'HASH') { }
134 99 13 unless $$matcher{'prefix'}
135 12 100 unless $$matcher{'ordered'}
149 104 17 unless $$matcher{'prefix'}
150 16 105 unless $$matcher{'ordered'}
169 13 60 if (ref $regex eq 'HASH')
173 30 43 if ($value =~ s/\A\s*($regex)\s*//s)
204 1 153 if (ref $alt eq 'Regexp')
208 0 1 unless $value =~ s/\A\s*($alt)\s*//s
212 120 34 if ($value =~ s/\A\s*($regex)\s*//s) { }
34 0 elsif (defined $alt and ref $alt eq '') { }
258 9 112 if $list{$key} and $value =~ s/\A\s*,\s*//s
284 36 99 if ($longhands{'css-id'})
304 11 205 if (ref $matcher{$name} eq 'HASH') { }
315 0 205 if $setter{$name}
337 0 0 if (exists $$self{$key}[$idx or 0])
356 62 10 if (exists $$self{$key})