Branch Coverage

blib/lib/PPIx/Regexp/Token/Assertion.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
100 10 44 if $content =~ / \A $item->[0] \z /msx
116 3 18 if ("\\K" eq $self->content)
119 0 5 if $parent->isa("PPIx::Regexp::Structure::Assertion")
176 23 130 $tokenizer->cookie(']') ? :
181 11 142 if $assertion{$character}
184 60 82 unless $character eq "\\"
186 0 82 unless defined(my $next = $tokenizer->peek(1))
192 82 0 if ("PPIx::Regexp::Token::Assertion" eq $make)
194 218 10 unless my $end = $tokenizer->find_regexp(qr/ \A $item->[0] /msx)
196 10 0 unless $item->[2]
204 3 6 if ("K" eq $next and "PPIx::Regexp::Token::Assertion" eq $make and $tokenizer->__cookie_exists("lookaround"))
214 32 37 if $escaped{$next}