Condition Coverage

blib/lib/PPI/Token/Magic.pm
Criterion Covered Total %
condition 13 15 86.6


and 3 conditions

line !l l&&!r l&&r condition
122 0 33 26 $next && $next =~ /\w/
302 26 33 $PPI::Token::Magic::MAGIC{$c} and not $next && $next =~ /\w/
160 857 0 3 $c =~ /^\$\d+$/ and $t->{'line'} =~ /\G(\d+)/cg

or 3 conditions

line l !l&&r !l&&!r condition
65 50 42 853 $c =~ /^(\$(?:\_[\w:]|::))/ or $c =~ /^\$\'[\w]/
106 8 24 740 $c eq "\$#\$" or $c eq "\$#{"