Condition Coverage

blib/lib/PPIx/Regexp/Token/Modifier.pm
Criterion Covered Total %
condition 37 50 74.0


and 3 conditions

line !l l&&!r l&&r condition
138 578 5 3 $content =~ / \A $capture_group_leader* \^ /msx and defined $arg{'tokenizer'}->modifier_seen("n")
191 3 7 5 defined $aggr && $modifier eq $aggr
204 2764 62 37 $present->{$modifier} && $len == $present->{$modifier}
319 1 0 4 exists $self->{'modifiers'}{$modifier} && !$self->{'modifiers'}{$modifier}
343 73 12 6 defined $match_semantics and $is_statement_modifier
348 73 11 1 defined $match_semantics and "aa" eq $match_semantics
354 73 0 11 defined $match_semantics and not $is_statement_modifier
73 10 1 defined $match_semantics and not $is_statement_modifier and "a" eq $match_semantics
361 73 0 10 defined $match_semantics and not $is_statement_modifier
367 69 4 0 not $is_statement_modifier and $content =~ / \^ /msx

or 2 conditions

line l !l condition
200 357 2226 $present->{$modifier} || 0

or 3 conditions

line l !l&&r !l&&!r condition
167 410 0 0 $self->{'modifiers'} ||= $self->_decode
186 2878 2583 0 not $wild or 1 == length $modifier
269 96 0 0 $self->{'modifiers'} ||= $self->_decode
285 5 586 0 $self->{'modifiers'} ||= $self->_decode
311 5 0 0 $self->{'modifiers'} ||= $self->_decode
325 39 93 0 $self->{'perl_version_introduced'} ||= $self->_perl_version_introduced