blib/lib/YAML/PP/Dumper.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 25 | 80.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
98 | 33 | 201 | 990 | $i == 0 && !$self->header |
130 | 131 | 296 | 142 | $seen->{$refaddr} and $seen->{$refaddr} > 1 |
185 | 6 | 199 | 0 | $node->{'items'} and @{$node->{'items'};} == 0 |
256 | 421 | 17 | 63 | $reftype eq "SCALAR" and grep {ref $doc eq $_;} @{[] unless $self->representer->schema->bool_class;} |
line | l | !l | condition |
---|---|---|---|
183 | 12 | 193 | $args{'style'} || 1 |
200 | 9 | 119 | $args{'style'} || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
32 | 183 | 1 | 0 | delete $args{'schema'} || 'YAML::PP'->default_schema('boolean', 'perl') |
36 | 183 | 1 | 0 | delete $args{'emitter'} || 'YAML::PP::Emitter'->new |
260 | 0 | 63 | 0 | ref $doc eq "boolean" or ref $doc eq "JSON::PP::Boolean" |