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 581 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 2714 62 37 $present->{$modifier} && $len == $present->{$modifier}
335 1 0 4 exists $self->{'modifiers'}{$modifier} && !$self->{'modifiers'}{$modifier}
359 73 12 6 defined $match_semantics and $is_statement_modifier
364 73 11 1 defined $match_semantics and "aa" eq $match_semantics
370 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
377 73 0 10 defined $match_semantics and not $is_statement_modifier
383 69 4 0 not $is_statement_modifier and $content =~ / \^ /msx

or 2 conditions

line l !l condition
200 351 2178 $present->{$modifier} || 0

or 3 conditions

line l !l&&r !l&&!r condition
167 410 0 0 $self->{'modifiers'} ||= $self->_decode
186 2828 2529 0 not $wild or 1 == length $modifier
285 96 0 0 $self->{'modifiers'} ||= $self->_decode
301 6 589 0 $self->{'modifiers'} ||= $self->_decode
327 5 0 0 $self->{'modifiers'} ||= $self->_decode
341 39 93 0 $self->{'perl_version_introduced'} ||= $self->_perl_version_introduced