Condition Coverage

blib/lib/PPIx/Regexp/Token/Code.pm
Criterion Covered Total %
condition 8 18 44.4


and 3 conditions

line !l l&&!r l&&r condition
83 137 0 9 $arg{'tokenizer'}->__recognize_postderef($self) and $self->{'perl_version_introduced'} < "5.019005"
156 0 0 2 $elem = $self->{'ppi'}->child(0) and $elem->isa("PPI::Token::Comment")
0 0 2 $elem = $self->{'ppi'}->child(0) and $elem->isa("PPI::Token::Comment") and $elem->content =~ / \A \#line\b /msx
165 0 0 2 $wid and $elem = $self->{'ppi'}->child(0)
0 0 2 $wid and $elem = $self->{'ppi'}->child(0) and $elem->isa("PPI::Token::Whitespace")
0 1 1 $wid and $elem = $self->{'ppi'}->child(0) and $elem->isa("PPI::Token::Whitespace") and $wid == length $elem->content