Condition Coverage

inc/YAML/Dumper.pm
Criterion Covered Total %
condition 14 51 27.4


and 3 conditions

line !l l&&!r l&&r condition
45 1 0 0 not $self->use_header and $self->document == 1
50 0 0 0 ref $node eq 'HASH' and keys %$node == 0
52 0 0 0 ref $node eq 'ARRAY' and @$node == 0
98 0 1 0 ref $value and not $type
262 3 1 0 ref $value and not $type
264 1 3 0 $type eq 'SCALAR' and $tag
289 0 0 0 $context == 5 and $self->compress_series
0 0 0 $context == 5 and $self->compress_series and not defined $$self{'id_anchor'}{$node_id} || $tag || $empty_hash
298 0 0 0 $self->headless and not $self->headless(0)
321 0 0 0 defined $order{$a} && defined $order{$b}
358 1 0 0 $self->headless and not $self->headless(0)
362 1 0 0 $self->inline_series and @$value <= $self->inline_series
1 0 0 $self->inline_series and @$value <= $self->inline_series and not scalar grep({/\n/ unless ref $_;} @$value)

or 2 conditions

line l !l condition
219 0 3 $ref || 'SCALAR'
250 1 3 $$self{'id_refcnt'}{$node_id} ||= 0
414 0 3 $_[1] || 0

or 3 conditions

line l !l&&r !l&&!r condition
154 0 0 1 $type eq 'REF' or $type eq 'SCALAR'
289 0 0 0 defined $$self{'id_anchor'}{$node_id} || $tag || $empty_hash