Branch Coverage

blib/lib/YAML/Hobo.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
20 0 0 if (wantarray) { }
50 0 21 unless defined $string
51 0 21 unless length $string
52 4 17 if (&Scalar::Util::looks_like_number($string))
55 1 3 if ($is_key or $has_string_flag) { }
62 6 11 if ($string =~ /[\x00-\x09\x0b-\x0d\x0e-\x1f\x7f-\x9f\'\n\s]/ or $QUOTE{$string})
73 1 10 if ($string =~ /(?:^[~!\@#%&*|>?:,'"`{}\[\]]|^-+$|:\z)/)
76 8 2 $is_key ? :