Branch Coverage

File:blib/lib/CSS/Parse/Op.pm
Coverage:98.1%

line%coveragebranch
26100TFunless $$self{'type'} eq 'list'
49100TFif $$op{'type'} eq 'alt'
52100TFunless $alts
68100TFif ($$op{'type'} eq 'alt') { }
88100TFunless $$self{'type'} eq 'list' or $$self{'type'} eq 'alternation'
95100TFunless ($op->reduce_repetition)
111100TFif ($$op{'type'} =~ /^rep (.*)$/) { }
118100TFunless (defined $subject)
143100TFif (defined $$self{'ops'})
154100TFif ($$self{'type'} eq 'list')
155100TFif (scalar @{$$self{'ops'};} == 1)
17550TFif ($CSS::TraceParser)
192100TFif ($$self{'type'} eq 'list')
198100TFif (defined $submatch) { }
215100TFif ($$self{'type'} eq 'subrule')
219100TFunless defined $token
222100TFif ($$token{'type'} eq $$self{'content'})
238100TFif (defined $rule)
259100TFif ($$self{'type'} eq 'repeat quest')
265100TFif (defined $submatch)
278100TFif ($$self{'type'} eq 'alternation')
284100TFif (defined $submatch)
300100TFif ($$self{'type'} eq 'repeat plus' or $$self{'type'} eq 'repeat star')
314100TFif (defined $submatch)
320100TFif ($this_pc > $last_pc)
331100TFif ($$self{'type'} eq 'repeat plus' and not $match_count)