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 409 1874 6 not $node->{'reftype'} and &reftype(\$node->{'value'}) eq "GLOB"
79 2084 171 34 $node->{'reftype'} eq "HASH" and my $tied = tied %{$$node{"data"};}
103 186 0 19 $self->preserve_flow_style and &reftype($node->{'value'}) eq "HASH"
115 118 0 10 $self->preserve_flow_style and &reftype($node->{'value'}) eq "ARRAY"
157 1814 0 0 $] >= "5.036" and my $rep = $representers->{'bool'}
199 43 0 0 ref $re and $classname =~ /$re/
210 301 1 4 $node->{'reftype'} eq "SCALAR" and my $scalarref = $representers->{'scalarref'}
214 298 0 4 $node->{'reftype'} eq "REF" and my $refref = $representers->{'refref'}
218 293 0 5 $node->{'reftype'} eq "CODE" and my $coderef = $representers->{'coderef'}
222 287 0 6 $node->{'reftype'} eq "GLOB" and my $glob = $representers->{'glob'}

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
56 49 82 2158 $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