Branch Coverage

blib/lib/PPIx/Regexp/Token/Control.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
84 1 6 if defined $version_introduced{$content}
121 1115 227 unless $character eq "\\"
126 0 227 unless my $control = $tokenizer->peek(1)
133 191 36 unless $is_control{$control}
145 30 6 if (my $slot = $cookie_slot{$control})
146 20 10 if (my $mask = $cookie_mask{$slot}) { }
149 16 4 unless ($mask & $cookie_stack->[-1]{'mask'})
161 7 9 $mask & 2 ? :
170 9 1 if @{$cookie_stack;} > 1
181 13 0 if $tokenizer->interpolates