Condition Coverage

blib/lib/PPI/Token/Magic.pm
Criterion Covered Total %
condition 14 15 93.3


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 832 2 5 $c =~ /^\$\d+$/ and $t->{'line'} =~ /\G(\d+)/cg

or 3 conditions

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