Branch Coverage

blib/lib/PPIx/Regexp/Token/CharClass/Simple.pm
Criterion Covered Total %
branch 29 34 85.2


line true false branch
106 3 15 if ($self->content =~ / \A \\ ( [Pp] ) ( [{] .* [}] | . ) \z /msx)
112 3 0 if (1 < length $prop)
120 2 1 if $literal
202 9 22 if (defined(my $minver = $introduced{$content}))
210 3 19 if $content =~ / \A \\ [Pp] (?: (?^msx: \{ \s* \^? \w [\w:=\s-]* \} | [CLMNPSZ] # perluniprops for 5.26.1 ) ) /msx
212 0 19 if $content =~ m[ \A \\ [Pp] \{ \s* na (?: me? )? [:=] / [^/]+ / \} ]msx
214 1 18 if $content =~ / \A \\ [Pp] \{ \s* [\w\s-]+ [:=] [^}]+ \} /msx
243 1 3 if "." eq (my $content = $self->content)
245 2 1 if $content =~ / \A \\ p \{ /imsx
255 18 1268 if ($character eq ".")
256 0 18 if $in_class
261 83 1185 if (my $accept = $tokenizer->find_regexp(qr/ \A \\ [wWsSdDvVhHXRNC] /msx))
264 9 74 if ($in_class)
267 0 9 if "\\N" eq $match
275 0 9 if "\\R" eq $match
280 13 1172 if (my $accept = $tokenizer->find_regexp(qr/ (?^msx: \A \\ [Pp] (?: (?^msx: \{ \s* \^? \w [\w:=\s-]* \} | [CLMNPSZ] # perluniprops for 5.26.1 ) ) ) | (?^msx: \A \\ [Pp] \{ \s* na (?: me? )? [:=] \/ [^\/]+ \/ \} ) | (?^msx: \A \\ [Pp] \{ \s* [\w\s-]+ [:=] [^}]+ \} ) /msx))
284 1 1171 if (my $accept = $tokenizer->find_regexp(qr/ \A \\ p [{] \s* [}] /msx))