Condition Coverage

blib/lib/YAML/PP/Parser.pm
Criterion Covered Total %
condition 57 98 58.1


and 3 conditions

line !l l&&!r l&&r condition
218 74 18 77 $seq_start and $exp eq 'MAPVALUE' || $exp eq 'MAP'
233 2393 56 29 $exp eq "SEQ0" and $next->{'name'} ne "DASH"
523 694 0 19 @$event_stack and $event_stack->[-1][0] eq "properties"
548 799 0 10 @$event_stack and $event_stack->[-1][0] eq "properties"
572 324 0 25 @$event_stack and $event_stack->[-1][0] eq "properties"
622 952 0 54 @$event_stack and $event_stack->[-1][0] eq "properties"
645 0 1793 0 $last ne "DOC" and $last ne "DOC_END"
717 7067 0 173 @$event_stack and $event_stack->[-1][0] eq "properties"
731 138 0 0 @$event_stack and $event_stack->[-1][0] eq "properties"
993 94 0 1 $alias ne "!" and $alias ne "!!"
1039 454 0 0 @$stack and $stack->[-1][0] eq "properties"
1071 19 0 0 @$stack and $stack->[-1][0] eq "properties"
1160 2264 0 22 @$stack and $stack->[-1][0] eq "properties"
1177 110 0 2 @$stack and $stack->[-1][0] eq "properties"
1198 0 0 0 @$stack and $stack->[-1][0] eq "properties"
1213 1957 0 601 @$stack and $stack->[-1][0] eq "properties"
1259 98 0 216 @$stack and $stack->[-1][0] eq "properties"
1286 94 0 0 @$stack and $stack->[-1][0] eq "properties"
1303 1 0 0 @$stack and $stack->[-1][0] eq "properties"
1332 321 0 162 @$stack and $stack->[-1][0] eq "properties"
1398 72 0 162 @$stack and $stack->[-1][0] eq "properties"
1417 164 0 28 @$stack and $stack->[-1][0] eq "properties"

or 2 conditions

line l !l condition
29 187 263 $default_yaml_version || '1.2'
824 1 0 $self->lexer->next_line || []
934 2 0 $args{'caller'} || [caller 0]
969 298 838 $last->{'inline'} ||= []
1014 76 584 $last->{'inline'} ||= []
1027 0 246 $last->{'newline'} ||= []
1465 47 0 $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 450 0 delete $args{'reader'} || 'YAML::PP::Reader'->new
218 77 0 18 $exp eq 'MAPVALUE' || $exp eq 'MAP'
892 0 0 0 $tokens ||= $self->tokens
964 839 0 298 not @$stack or $stack->[-1][0] ne "properties"
1010 584 0 76 not @$stack or $stack->[-1][0] ne "properties"