Condition Coverage

blib/lib/PPIx/Regexp/Token/Literal.pm
Criterion Covered Total %
condition 18 23 78.2


and 3 conditions

line !l l&&!r l&&r condition
88 26 149 1 $main and $content =~ / \A \\ N \{ /msx
175 0 1 $main and $content =~ / \A \\ N \{ /msx and not $main->interpolates
262 2195 70 276 $tokenizer->modifier("x*") and not $tokenizer->cookie("]")
2255 0 10 $tokenizer->modifier("xx") and $tokenizer->cookie("]")
604 3 0 1 "{" eq $self->content and $prev = $self->sprevious_sibling
3 0 1 "{" eq $self->content and $prev = $self->sprevious_sibling and $prev->isa("PPIx::Regexp::Token::Literal")

or 2 conditions

line l !l condition
409 1 0 substr($value, 0, pos $value) || 0

or 3 conditions

line l !l&&r !l&&!r condition
281 6 47 2202 $character eq "#" or $character =~ / \A \s \z /msx