Condition Coverage

blib/lib/YAML/PP/Highlight.pm
Criterion Covered Total %
condition 4 8 50.0


and 3 conditions

line !l l&&!r l&&r condition
157 25 7 0 $token->{'name'} eq "EOL" and not length $value
191 8 0 1 $str =~ / \z/ and $name =~ /^(BLOCK_SCALAR_CONTENT|WS|INDENT)$/

or 2 conditions

line l !l condition
135 0 0 $htmlcolors{$name} || 'default'