Condition Coverage

blib/lib/YAML/PP/Dumper.pm
Criterion Covered Total %
condition 20 25 80.0


and 3 conditions

line !l l&&!r l&&r condition
98 64 488 990 $i == 0 && !$self->header
130 132 682 147 $seen->{$refaddr} and $seen->{$refaddr} > 1
185 9 446 0 $node->{'items'} and @{$node->{'items'};} == 0
256 812 17 64 $reftype eq "SCALAR" and grep {ref $doc eq $_;} @{[] unless $self->representer->schema->bool_class;}

or 2 conditions

line l !l condition
183 12 443 $args{'style'} || 1
200 9 257 $args{'style'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
32 745 1 0 delete $args{'schema'} || 'YAML::PP'->default_schema('boolean', 'perl')
36 745 1 0 delete $args{'emitter'} || 'YAML::PP::Emitter'->new
260 0 64 0 ref $doc eq "boolean" or ref $doc eq "JSON::PP::Boolean"