Condition Coverage

blib/lib/YAML/PP/Parser.pm
Criterion Covered Total %
condition 68 98 69.3


and 3 conditions

line !l l&&!r l&&r condition
218 219 70 561 $seq_start and $exp eq 'MAPVALUE' || $exp eq 'MAP'
233 9097 500 240 $exp eq "SEQ0" and $next->{'name'} ne "DASH"
523 2995 0 227 @$event_stack and $event_stack->[-1][0] eq "properties"
548 1323 0 38 @$event_stack and $event_stack->[-1][0] eq "properties"
572 1049 0 69 @$event_stack and $event_stack->[-1][0] eq "properties"
622 4861 0 492 @$event_stack and $event_stack->[-1][0] eq "properties"
645 0 8078 0 $last ne "DOC" and $last ne "DOC_END"
717 29311 0 445 @$event_stack and $event_stack->[-1][0] eq "properties"
731 548 0 2 @$event_stack and $event_stack->[-1][0] eq "properties"
993 230 0 2 $alias ne "!" and $alias ne "!!"
1039 3820 0 72 @$stack and $stack->[-1][0] eq "properties"
1071 104 0 9 @$stack and $stack->[-1][0] eq "properties"
1160 3754 0 236 @$stack and $stack->[-1][0] eq "properties"
1177 468 0 16 @$stack and $stack->[-1][0] eq "properties"
1198 232 0 9 @$stack and $stack->[-1][0] eq "properties"
1213 13313 0 2212 @$stack and $stack->[-1][0] eq "properties"
1259 159 0 243 @$stack and $stack->[-1][0] eq "properties"
1286 917 0 21 @$stack and $stack->[-1][0] eq "properties"
1303 137 0 2 @$stack and $stack->[-1][0] eq "properties"
1332 402 0 167 @$stack and $stack->[-1][0] eq "properties"
1398 182 0 248 @$stack and $stack->[-1][0] eq "properties"
1417 1630 0 82 @$stack and $stack->[-1][0] eq "properties"

or 2 conditions

line l !l condition
29 749 3909 $default_yaml_version || '1.2'
824 1 0 $self->lexer->next_line || []
934 48 15 $args{'caller'} || [caller 0]
969 464 2263 $last->{'inline'} ||= []
1014 121 1968 $last->{'inline'} ||= []
1027 27 1164 $last->{'newline'} ||= []
1465 149 9 $version || '1.2'

or 3 conditions

line l !l&&r !l&&!r condition
9 1 0 41 $ENV{'YAML_PP_DEBUG'} || $ENV{'YAML_PP_TRACE'}
27 0 4658 0 delete $args{'reader'} || 'YAML::PP::Reader'->new
218 550 11 70 $exp eq 'MAPVALUE' || $exp eq 'MAP'
892 0 0 0 $tokens ||= $self->tokens
964 2229 0 500 not @$stack or $stack->[-1][0] ne "properties"
1010 1840 0 249 not @$stack or $stack->[-1][0] ne "properties"