Condition Coverage

blib/lib/YAML/PP/Representer.pm
Criterion Covered Total %
condition 29 43 67.4


and 3 conditions

line !l l&&!r l&&r condition
67 798 3000 6 not $node->{'reftype'} and &reftype(\$node->{'value'}) eq "GLOB"
79 3349 421 34 $node->{'reftype'} eq "HASH" and my $tied = tied %{$$node{"data"};}
103 436 0 19 $self->preserve_flow_style and &reftype($node->{'value'}) eq "HASH"
115 256 0 10 $self->preserve_flow_style and &reftype($node->{'value'}) eq "ARRAY"
157 2890 0 0 $] >= "5.036" and my $rep = $representers->{'bool'}
199 43 0 0 ref $re and $classname =~ /$re/
210 689 1 4 $node->{'reftype'} eq "SCALAR" and my $scalarref = $representers->{'scalarref'}
214 686 0 4 $node->{'reftype'} eq "REF" and my $refref = $representers->{'refref'}
218 681 0 5 $node->{'reftype'} eq "CODE" and my $coderef = $representers->{'coderef'}
222 675 0 6 $node->{'reftype'} eq "GLOB" and my $glob = $representers->{'glob'}

or 2 conditions

line l !l condition
22 12 734 delete $args{'preserve'} || 0
77 722 3082 &reftype($node->{'data'}) || ''

or 3 conditions

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