Condition Coverage

blib/lib/YAML/PP/Representer.pm
Criterion Covered Total %
condition 32 43 74.4


and 3 conditions

line !l l&&!r l&&r condition
67 801 3010 6 not $node->{'reftype'} and builtin::reftype(\$node->{'value'}) eq "GLOB"
79 3359 424 34 $node->{'reftype'} eq "HASH" and my $tied = tied %{$$node{"data"};}
103 439 0 19 $self->preserve_flow_style and builtin::reftype($node->{'value'}) eq "HASH"
115 256 0 10 $self->preserve_flow_style and builtin::reftype($node->{'value'}) eq "ARRAY"
157 0 2152 748 $] >= "5.036" and my $rep = $representers->{'bool'}
199 43 0 0 ref $re and $classname =~ /$re/
210 692 1 4 $node->{'reftype'} eq "SCALAR" and my $scalarref = $representers->{'scalarref'}
214 689 0 4 $node->{'reftype'} eq "REF" and my $refref = $representers->{'refref'}
218 684 0 5 $node->{'reftype'} eq "CODE" and my $coderef = $representers->{'coderef'}
222 678 0 6 $node->{'reftype'} eq "GLOB" and my $glob = $representers->{'glob'}

or 2 conditions

line l !l condition
22 12 742 delete $args{'preserve'} || 0
77 725 3092 builtin::reftype($node->{'data'}) || ''

or 3 conditions

line l !l&&r !l&&!r condition
56 49 82 3686 $preserve_style or $preserve_alias
158 733 15 0 $is_bool ||= eval $bool_code
199 0 43 0 ref $re and $classname =~ /$re/ or $re