Condition Coverage

blib/lib/PPIx/Regexp/Lexer.pm
Criterion Covered Total %
condition 26 35 74.2


and 3 conditions

line !l l&&!r l&&r condition
169 4 8 324 not $kind and $token->isa("PPIx::Regexp::Token::Structure")
219 0 0 324 $part_0 and $part_0->can("max_capture_number")
324 0 5 1 $content eq ")" and @rslt > 1
5 0 1 $content eq ")" and @rslt > 1 and my $recover = $unclosed{$rslt[-1][1]->content}
361 1903 28 17 __instance($rslt[-1][-2], "PPIx::Regexp::Token::Operator") and $rslt[-1][-2]->content eq "-"
1931 4 13 __instance($rslt[-1][-2], "PPIx::Regexp::Token::Operator") and $rslt[-1][-2]->content eq "-" and $rslt[-1][0] eq "]"
438 0 6 29 $args->[-1] and $args->[-1]->is_quantifier
478 5 0 1 $self->{'_rslt'}[0][-1]->isa("PPIx::Regexp::Token::Assertion") and "\\b" eq $self->{'_rslt'}[0][-1]->content
521 1 9 2 __instance($args->[0], "PPIx::Regexp::Token::Literal") and __instance($args->[1], "PPIx::Regexp::Token::Unknown")
10 0 2 __instance($args->[0], "PPIx::Regexp::Token::Literal") and __instance($args->[1], "PPIx::Regexp::Token::Unknown") and "PPIx::Regexp::Token::Quantifier"->could_be_quantifier($args->[1]->content)
529 0 0 2 __instance($args->[2], "PPIx::Regexp::Token::Unknown") and "PPIx::Regexp::Token::Greediness"->could_be_greediness($args->[2]->content)

or 2 conditions

line l !l condition
199 5 19 $self->close_bracket($part_0->start(0)) || 0