Condition Coverage

blib/lib/Portable/LoadYaml.pm
Criterion Covered Total %
condition 0 33 0.0


and 3 conditions

line !l l&&!r l&&r condition
106 0 0 0 utf8::is_utf8($string) and not utf8::valid($string)
127 0 0 0 @lines and $lines[0] =~ /^\%YAML[: ][\d\.]+.*\z/
136 0 0 0 defined $1 and not $1 =~ /^(?:\#.+|\%YAML[: ][\d\.]+)\z/
144 0 0 0 not $in_document and @$self
147 0 0 0 @lines and not $lines[0] =~ /^---/
248 0 0 0 defined $$indent[-2] and $$indent[-1] <= $$indent[-2]
272 0 0 0 @$lines and not $$lines[0] =~ /^---/
286 0 0 0 defined $$indent[-2] and $$indent[-1] == $$indent[-2]
354 0 0 0 @$lines and not $$lines[0] =~ /^---/

or 3 conditions

line l !l&&r !l&&!r condition
144 0 0 0 not @lines or $lines[0] =~ /^(?:---|\.\.\.)/
235 0 0 0 $string =~ /^(?:-(?:\s|$)|[\@\%\`])/ or $string =~ /:(?:\s|$)/